Date: Tue, 10 Nov 1998 15:16:38 -0200 (EDT) From: Joao Carlos Mendes Luis <jonny@jonny.eng.br> To: deker@digitaladdiction.com (Rob Deker) Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Questions about in.h and inet.h Message-ID: <199811101716.PAA09395@roma.coe.ufrj.br> In-Reply-To: <Pine.BSF.3.96.981110115048.8854F-100000@nyx.digitaladdiction.com> from Rob Deker at "Nov 10, 98 11:51:52 am"
index | next in thread | previous in thread | raw e-mail
#define quoting(Rob Deker)
// Well, gcc seems to think that these header files are broken. To prove that
// I wasn't on crack, I wrote the following stupid little bit of code:
//
// #include <netinet/in.h>
// #include <arpa/inet.h>
//
// main() {}
//
// an tried to compile it. What I got back was:
//
// In file included from foo.c:1:
// /usr/include/netinet/in.h:223: parse error before `u_int32_t'
You forgot:
#include <sys/types.h>
#include <sys/socket.h>
Jonny
--
Joao Carlos Mendes Luis M.Sc. Student
jonny@jonny.eng.br Universidade Federal do Rio de Janeiro
"This .sig is not meant to be politically correct."
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811101716.PAA09395>
