Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2005 20:08:58 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        alicornio <alicornio@ig.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: about ip.h
Message-ID:  <20050907170858.GA11637@orion.daedalusnetworks.priv>
In-Reply-To: <20050907_165009_022627.alicornio@ig.com.br>
References:  <20050907_165009_022627.alicornio@ig.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-09-07 13:50, alicornio <alicornio@ig.com.br> wrote:
Content-Description: Mail message body
> 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.

	#include <netinet/in_systm.h>
	#include <netinet/ip.h>

should work



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