commit | 9e548ca6f3b21652c4813c93cfcbb2c41f238730 | [log] [tgz] |
---|---|---|
author | Alexey Tarasov <tarasov@dodologics.com> | Tue Sep 01 01:28:52 2009 +1100 |
committer | Jean-Baptiste Queru <jbq@google.com> | Tue Sep 08 18:04:44 2009 -0700 |
tree | 3e733d61eeea427534832abc7c9b8a8de02bfc5a | |
parent | 37f0fd547e05c8bcfa59eee57c9988c1f3969fb1 [diff] |
Add netinet/in.h when building on BSD Provides declaration of IPPROTO_ICMP
diff --git a/slirp2/slirp.h b/slirp2/slirp.h index e69940b..3ee8111 100644 --- a/slirp2/slirp.h +++ b/slirp2/slirp.h
@@ -14,6 +14,10 @@ #include <stddef.h> #include "sockets.h" +#ifdef _BSD +#include <netinet/in.h> +#endif + #ifdef _WIN32 # include <inttypes.h>