From bda274971e2120e672a4df165cee69d4b7a80d22 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 20 Apr 2014 19:34:52 +0200 Subject: Define IP_FREEBIND if it is not provided --- src/compat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/compat.h') 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 #include - #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 -- cgit v1.2.3