diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-12 15:07:15 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-12 15:13:18 +0100 |
commit | e37c2d0b2cca00f4dfa77b52df065aad304da59b (patch) | |
tree | a55db839e03937fb020c6ba22ac257ad5f4948dc | |
parent | f567ac9193bc421992e572ec3196a73dc6ed59c0 (diff) |
libipq: fix compile error
libipq.c: In function `ipq_create_handle':
libipq.c:220: error: `NFPROTO_IPV4' undeclared (first use in this function)
libipq.c:220: error: (Each undeclared identifier is reported only once
libipq.c:220: error: for each function it appears in.)
libipq.c:222: error: `NFPROTO_IPV6' undeclared (first use in this function)
Add the required includes.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r-- | libipq/libipq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libipq/libipq.c b/libipq/libipq.c index 495fce16..620cc2d3 100644 --- a/libipq/libipq.c +++ b/libipq/libipq.c @@ -32,6 +32,8 @@ #include <sys/types.h> #include <libipq/libipq.h> +#include <netinet/in.h> +#include <linux/netfilter.h> /**************************************************************************** * |