Date: Wed, 7 Sep 2005 13:50:09 -0300 From: alicornio <alicornio@ig.com.br> To: freebsd-questions@freebsd.org Subject: about ip.h Message-ID: <20050907_165009_022627.alicornio@ig.com.br>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Message-Boundary-by-Mail-Sender-1126111809 Content-type: text/plain; charset=ISO-8859-1 Content-description: Mail message body Content-transfer-encoding: 8bit Content-disposition: inline hello all i have a problem when i try to compile a code. this is the error: in file included from packetCreate.c:5: /usr/include/netinet/ip.h:160: error: systax error before "n_long" /usr/include/netinet/ip.h:163: error: systax error before "n_long" then searching in the ip.h i change "n_long" to "u_long" and the code was compiled well. my questions are: why i need to modify this ? i search for "n_long" in types.h but i can't find it, where is "n_long"? seaching on the http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/ip.h i saw which all versions of ip.h have "n_long", then "n_long" (not u_long) is the correct form, right? sorry for my bad english :-) thanks all thiago_cabeludo --Message-Boundary-by-Mail-Sender-1126111809--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050907_165009_022627.alicornio>