From 1ec00737da2b5792e78bb1a8578aee7952a2bdf2 Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Wed, 24 Oct 2018 16:36:00 +0200 Subject: core: make ap_net.h self-contained We need to include to define 'socklen_t', for 'ssize_t' and "list.h" for 'struct list_head'. Also, let's include "libnetlink.h" so that we don't need a forward declaration for 'struct rtnl_handle'. Signed-off-by: Guillaume Nault --- accel-pppd/include/ap_net.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'accel-pppd/include') diff --git a/accel-pppd/include/ap_net.h b/accel-pppd/include/ap_net.h index 25121d94..91ebdd5e 100644 --- a/accel-pppd/include/ap_net.h +++ b/accel-pppd/include/ap_net.h @@ -1,7 +1,11 @@ #ifndef __AP_NET_H #define __AP_NET_H -struct rtnl_handle; +#include +#include + +#include "libnetlink.h" +#include "list.h" struct ap_net { struct list_head entry; -- cgit v1.2.3