summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorpdw <>2002-10-18 17:29:32 +0000
committerpdw <>2002-10-18 17:29:32 +0000
commit5ef015aea21fcbf741d43f39fb1a85a00b536689 (patch)
treec218d38d938aa8505b126b48122caf2864052f42 /options.c
parent41f4c93226b3f66f51b91e44d431f54df8003e9e (diff)
downloadiftop-5ef015aea21fcbf741d43f39fb1a85a00b536689.zip
Include lots of header files, rather than relying on O/S specific ones.
Diffstat (limited to 'options.c')
-rw-r--r--options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/options.c b/options.c
index 00f3c67..217ce3b 100644
--- a/options.c
+++ b/options.c
@@ -10,8 +10,9 @@
#include <stdlib.h>
#include <unistd.h>
-#include <net/if.h>
#include <sys/ioctl.h>
+#include <sys/socket.h>
+#include <net/if.h>
#include "iftop.h"
#include "options.h"