summaryrefslogtreecommitdiff
path: root/promisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'promisc.c')
-rw-r--r--promisc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/promisc.c b/promisc.c
index 721da18..32184b1 100644
--- a/promisc.c
+++ b/promisc.c
@@ -1,7 +1,9 @@
#include <string.h>
+#include <sys/socket.h>
+#include <linux/if.h>
#include "promisc.h"
-#include "xutils.h"
+#include "dev.h"
short enter_promiscuous_mode(char *ifname)
{