summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index e55f869..ea3f109 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -40,7 +40,6 @@
#include <netinet/in.h>
#include <netinet/if_ether.h>
-
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
@@ -57,6 +56,9 @@ struct ethhdr {
} __attribute__((packed));
#endif
+#if defined(USE_FREEBIND) && !defined(IP_FREEBIND)
+#define IP_FREEBIND 15
+#endif
#ifndef HAVE_GET_CURRENT_DIR_NAME