Compiling ping.c in cygwin (problem with headers)

View: New views
1 Messages — Rating Filter:   Alert me  

Compiling ping.c in cygwin (problem with headers)

by pseudor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was compiling the ping.c in the cygwin and got an error messages. Then I find out that the headers from /usr/include/netinet in Linux and cygwin are different (ip_icmp.h). How can make the ping.c to be compiled in the cygwin? Thank you.