summaryrefslogtreecommitdiffstats
path: root/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 5a24a97..16bf9d5 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -32,6 +32,12 @@
#include <stdint.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
+
#ifndef ETH_ALEN
#define ETH_ALEN 6