-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't compile on Mac OS 10.9.5 - unknown type name n_short and n_time #1
Comments
woah... I don't know for sure, my first inclination is to add a -D_GNU_SOURCE to the compile flags. |
It compiled after adding some includes and copying the icmphdr struct definition from the WIN32 part. Patch |
had the same issue. you must run it as root |
... or what ever you call it on osx ;) |
Most of the time, when Sometimes, you already have |
So... do changes need to be made on my part? |
I updated the code and now I get these errors after closing the cnping window using the button:
Obvisouly, cnping exits, should I ignore the message? |
Also, if you do have this issue after including: Make sure that you are including <netinet/ip.h> before you include any libraries that reference the type alias n_short. i.g. <netinet/ip_icmp.h> |
Does that mean the code as it stands doesn't work? |
The text was updated successfully, but these errors were encountered: