Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 23:40:02 -0800 (PST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/33506: inet.h incomplete type
Message-ID:  <200201030740.g037e2W78811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/33506; it has been noted by GNATS.

From: Joe Marcus Clarke <marcus@marcuscom.com>
To: freebsd-gnats-submit@FreeBSD.org, ggenovez@hotmail.com
Cc:  
Subject: Re: ports/33506: inet.h incomplete type
Date: Thu, 3 Jan 2002 02:38:35 -0500

 You need to add:
 
 #include <netinet/in.h>
 
 to the list of includes in the right order:
 
 #include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
 #include <errno.h>
 #include <netinet/in.h> /* LOOK HERE! */
 #include <arpa/inet.h>
 #include "safecalls.h"
 
 Then that error will go away, but you'll have to fix the other problems 
 before it will compile.
 
 Joe
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201030740.g037e2W78811>