kernel-wfp: Don't redefine IPPROTO_IP* if already defined
This commit is contained in:
@@ -25,8 +25,12 @@
|
|||||||
#include <collections/hashtable.h>
|
#include <collections/hashtable.h>
|
||||||
#include <processing/jobs/callback_job.h>
|
#include <processing/jobs/callback_job.h>
|
||||||
|
|
||||||
|
#ifndef IPPROTO_IPIP
|
||||||
#define IPPROTO_IPIP 4
|
#define IPPROTO_IPIP 4
|
||||||
|
#endif
|
||||||
|
#ifndef IPPROTO_IPV6
|
||||||
#define IPPROTO_IPV6 41
|
#define IPPROTO_IPV6 41
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct private_kernel_wfp_ipsec_t private_kernel_wfp_ipsec_t;
|
typedef struct private_kernel_wfp_ipsec_t private_kernel_wfp_ipsec_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user