diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2012-06-18 21:50:59 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2012-06-18 21:50:59 +0000 |
commit | 1b0a5c58e299b65762a3cf977b44828205e4e18f (patch) | |
tree | bfb871007a28a23b2429218a2aad79b473a1484e /dumpcap.c | |
parent | 39f1f0bcb7d528451d0f959e7c8ad801fb089c81 (diff) |
Fix compilation on FreeBSD.
svn path=/trunk/; revision=43343
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -36,6 +36,14 @@ # include <sys/types.h> #endif +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif + +#ifdef HAVE_NETINET_IN_H +#include <netinet/in.h> +#endif + #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif @@ -91,7 +99,6 @@ #endif #ifndef _WIN32 -#include <sys/socket.h> #include <sys/un.h> #endif |