aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-07-04 06:47:09 +0000
committerGuy Harris <guy@alum.mit.edu>1999-07-04 06:47:09 +0000
commit7a4fe9b1c382cc425836b54b2bb0cfaf434666cd (patch)
treec7dfa41cea7c75e2a8760b185a43d426b7210d1e
parentaca6d29e7b180203ca97fc64f5769db37cb9f4d9 (diff)
Include <sys/types.h> before including <netinet/in.h> - you have to do
that on FreeBSD, at least. svn path=/trunk/; revision=338
-rw-r--r--wiretap/bpf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/bpf.c b/wiretap/bpf.c
index d22841d7df..3f02859d13 100644
--- a/wiretap/bpf.c
+++ b/wiretap/bpf.c
@@ -10,6 +10,7 @@
#include <glib.h>
#endif
+#include <sys/types.h>
#include <netinet/in.h>
#include "wtap.h"