Topic: Problem with Code
Dear Friends,
Before some days, I tried to make a program, But..............
I don't understand why there are error's in the system header?
Code:
Aurora:/Users/chris/dev/network/packetsniffer root# gcc -W -Wall -o ps ps.c liberr.c sock_ntop_host.c
In file included from ps.c:14:
/usr/include/netinet/ip.h:178: error: parse error before "n_long"
/usr/include/netinet/ip.h:181: error: parse error before "n_long"
/usr/include/netinet/ip.h:183: error: parse error before '}' token
/usr/include/netinet/ip.h:184: error: parse error before '}' token
Reply me ASAP.
Thanks & best regards,
ALI
Mr. IT
AliSoft.Net
Contact # 92-0300-5239065
Email: ali@alisoft.net
http://www.alisoft.net