diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-10-24 16:36:02 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2018-10-26 06:34:34 +0300 |
commit | 7ba8d8d091a16fe2513b2a472ef87a20fc41f39f (patch) | |
tree | 6492c3a899b004678df08a8958c3d8f104640f8a /accel-pppd | |
parent | 1ec00737da2b5792e78bb1a8578aee7952a2bdf2 (diff) | |
download | accel-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>
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/libnetlink/iputils.h | 2 |
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); |