summaryrefslogtreecommitdiffstats
path: root/src/compat.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 04:45:07 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 04:48:25 +0200
commit6662ce280f002881e07d4ac5bc1a8fd5786a304c (patch)
tree81a94e5f618c88d329e4fe1f475ac84094c6e4ed /src/compat.h
parent78e1baac0654aad82b855f8ded90c1f35c81a552 (diff)
downloadfastd-6662ce280f002881e07d4ac5bc1a8fd5786a304c.tar
fastd-6662ce280f002881e07d4ac5bc1a8fd5786a304c.zip
Move some includes to compat.h
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