summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-10-24 16:36:03 +0200
committerDmitry Kozlov <xeb@mail.ru>2018-10-26 06:34:34 +0300
commit42a50d419f709b93fbd124f8ba6e0041009e4f62 (patch)
treed836c3511a0d1775e07083e5451e391992a95258
parent7ba8d8d091a16fe2513b2a472ef87a20fc41f39f (diff)
downloadaccel-ppp-42a50d419f709b93fbd124f8ba6e0041009e4f62.tar.gz
accel-ppp-42a50d419f709b93fbd124f8ba6e0041009e4f62.zip
libnetlink: make ipset.h self-contained
We need to include <netinet/in.h> to define 'in_addr_t'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
-rw-r--r--accel-pppd/libnetlink/ipset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/libnetlink/ipset.h b/accel-pppd/libnetlink/ipset.h
index cd5523dc..7121eaa0 100644
--- a/accel-pppd/libnetlink/ipset.h
+++ b/accel-pppd/libnetlink/ipset.h
@@ -1,6 +1,8 @@
#ifndef __IPSET_H
#define __IPSET_H
+#include <netinet/in.h>
+
int ipset_add(const char *name, in_addr_t addr);
int ipset_del(const char *name, in_addr_t addr);
int ipset_flush(const char *name);