summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-10-24 16:36:02 +0200
committerDmitry Kozlov <xeb@mail.ru>2018-10-26 06:34:34 +0300
commit7ba8d8d091a16fe2513b2a472ef87a20fc41f39f (patch)
tree6492c3a899b004678df08a8958c3d8f104640f8a
parent1ec00737da2b5792e78bb1a8578aee7952a2bdf2 (diff)
downloadaccel-ppp-7ba8d8d091a16fe2513b2a472ef87a20fc41f39f.tar.gz
accel-ppp-7ba8d8d091a16fe2513b2a472ef87a20fc41f39f.zip
iputils: make iputils.h self-contained
We need to include <stdint.h> to define 'uint32_t' and <netinet/in.h> for 'in_addr_t' and 'struct in6_addr'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
-rw-r--r--accel-pppd/libnetlink/iputils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/libnetlink/iputils.h b/accel-pppd/libnetlink/iputils.h
index 66aa9747..6c1d3878 100644
--- a/accel-pppd/libnetlink/iputils.h
+++ b/accel-pppd/libnetlink/iputils.h
@@ -2,6 +2,8 @@
#define __IPLINK_H
#include <linux/if_link.h>
+#include <netinet/in.h>
+#include <stdint.h>
typedef int (*iplink_list_func)(int index, int flags, const char *name, int iflink, int vid, void *arg);