summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorpdw <>2011-10-02 21:41:47 +0000
committerpdw <>2011-10-02 21:41:47 +0000
commit120a1b2c5393fc63e2c9bf81d6adb55a6acd4ed2 (patch)
treea50dc5cf8eb811798d815c928e1fd09ccbd7c4fc /config
parent3e90c6b54712eb4e361edc31526c058712df7988 (diff)
downloadiftop-120a1b2c5393fc63e2c9bf81d6adb55a6acd4ed2.zip
FreeBSD patch from Frederic Perrin <frederic.perrin@resel.fr> plus fix for
compile error in gethostbyaddr resolver. Order of pcap.h vs bpf.h switched, to fix compilation on Mac OS X.
Diffstat (limited to 'config')
-rw-r--r--config/int_ghba_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/int_ghba_r.c b/config/int_ghba_r.c
index 7a3a3c1..6801a94 100644
--- a/config/int_ghba_r.c
+++ b/config/int_ghba_r.c
@@ -6,6 +6,7 @@
static const char rcsid[] = "$Id$";
+#include <sys/socket.h>
#include <sys/types.h>
#include <errno.h>