summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-10-24 16:36:04 +0200
committerDmitry Kozlov <xeb@mail.ru>2018-10-26 06:34:34 +0300
commit9fbad3fad720fe69c83d9522ca2edd0b42f3b22d (patch)
tree4836d0be14b7d3ad9ecbaeaf9e2ae528b43e632c
parent42a50d419f709b93fbd124f8ba6e0041009e4f62 (diff)
downloadaccel-ppp-9fbad3fad720fe69c83d9522ca2edd0b42f3b22d.tar.gz
accel-ppp-9fbad3fad720fe69c83d9522ca2edd0b42f3b22d.zip
libnetlink: make libnetlink.h self-contained
We need to include <sys/types.h> to define 'pid_t'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
-rw-r--r--accel-pppd/libnetlink/libnetlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/libnetlink/libnetlink.h b/accel-pppd/libnetlink/libnetlink.h
index 5089c46f..aeab3ef4 100644
--- a/accel-pppd/libnetlink/libnetlink.h
+++ b/accel-pppd/libnetlink/libnetlink.h
@@ -7,6 +7,7 @@
#include <linux/if_link.h>
#include <linux/if_addr.h>
#include <linux/neighbour.h>
+#include <sys/types.h>
#define TCA_BUF_MAX 64*1024
#define MAX_MSG 16384