about ip.h

alicornio alicornio at ig.com.br
Wed Sep 7 10:45:50 PDT 2005


 Thanks Giorgos 

 work very well  :-) 

thiago_cabeludo 

>On 2005-09-07 13:50, alicornio 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 
> #include 
> 
>should work 
> 
>---------- 


More information about the freebsd-questions mailing list