Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: Wed Mar 10 18:49:26 2010 +0100 Revision: 3918 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Add _BSD_SOURCE definition to fix 'make checkheaders'. It is required for IFNAMSIZ to be defined in the net/if.h system header. Modified: M firewall/conntrack.h M firewall/esp_prot_conntrack.h M firewall/firewall_defines.h M firewall/lsi.h M firewall/midauth.h M firewall/proxy.h M firewall/user_ipsec_api.h M firewall/user_ipsec_esp.h === modified file 'firewall/conntrack.h' --- firewall/conntrack.h 2010-02-17 17:38:08 +0000 +++ firewall/conntrack.h 2010-03-10 17:49:26 +0000 @@ -1,6 +1,8 @@ #ifndef HIP_FIREWALL_CONNTRACK_H #define HIP_FIREWALL_CONNTRACK_H +#define _BSD_SOURCE + #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/ip6.h> === modified file 'firewall/esp_prot_conntrack.h' --- firewall/esp_prot_conntrack.h 2010-02-17 17:38:08 +0000 +++ firewall/esp_prot_conntrack.h 2010-03-10 17:49:26 +0000 @@ -14,6 +14,8 @@ #ifndef HIP_FIREWALL_ESP_PROT_CONNTRACK_H #define HIP_FIREWALL_ESP_PROT_CONNTRACK_H +#define _BSD_SOURCE + #include "lib/core/protodefs.h" #include "conntrack.h" === modified file 'firewall/firewall_defines.h' --- firewall/firewall_defines.h 2010-03-09 21:23:38 +0000 +++ firewall/firewall_defines.h 2010-03-10 17:49:26 +0000 @@ -1,6 +1,9 @@ #ifndef HIP_FIREWALL_FIREWALL_DEFINES_H #define HIP_FIREWALL_FIREWALL_DEFINES_H +#define _BSD_SOURCE + +#include <net/if.h> #include <sys/time.h> #include <libipq.h> #include <string.h> === modified file 'firewall/lsi.h' --- firewall/lsi.h 2010-03-10 17:44:36 +0000 +++ firewall/lsi.h 2010-03-10 17:49:26 +0000 @@ -1,6 +1,8 @@ #ifndef HIP_FIREWALL_LSI_H #define HIP_FIREWALL_LSI_H +#define _BSD_SOURCE + #include <libipq.h> #include <netinet/ip_icmp.h> #include <linux/netfilter_ipv4/ip_queue.h> === modified file 'firewall/midauth.h' --- firewall/midauth.h 2010-02-18 12:26:08 +0000 +++ firewall/midauth.h 2010-03-10 17:49:26 +0000 @@ -12,10 +12,11 @@ #ifndef HIP_FIREWALL_MIDAUTH_H #define HIP_FIREWALL_MIDAUTH_H +#define _BSD_SOURCE + #include <netinet/ip6.h> #include <netinet/ip.h> #include <netinet/udp.h> -#include <libipq.h> #include <linux/netfilter.h> #include "lib/core/protodefs.h" #include "lib/core/debug.h" === modified file 'firewall/proxy.h' --- firewall/proxy.h 2010-02-17 17:38:08 +0000 +++ firewall/proxy.h 2010-03-10 17:49:26 +0000 @@ -1,6 +1,8 @@ #ifndef HIP_FIREWALL_PROXY_H #define HIP_FIREWALL_PROXY_H +#define _BSD_SOURCE + #include <libipq.h> #include "firewall.h" === modified file 'firewall/user_ipsec_api.h' --- firewall/user_ipsec_api.h 2010-03-10 17:44:36 +0000 +++ firewall/user_ipsec_api.h 2010-03-10 17:49:26 +0000 @@ -14,6 +14,8 @@ #ifndef HIP_FIREWALL_USER_IPSEC_API_H #define HIP_FIREWALL_USER_IPSEC_API_H +#define _BSD_SOURCE + #include <netinet/udp.h> #include <openssl/evp.h> === modified file 'firewall/user_ipsec_esp.h' --- firewall/user_ipsec_esp.h 2010-02-17 17:38:08 +0000 +++ firewall/user_ipsec_esp.h 2010-03-10 17:49:26 +0000 @@ -24,6 +24,8 @@ #ifndef HIP_FIREWALL_USER_IPSEC_ESP_H #define HIP_FIREWALL_USER_IPSEC_ESP_H +#define _BSD_SOURCE + #include "user_ipsec_sadb.h" #include "firewall_defines.h"