From bb9911b5a337aeba34b6be53a2ef654828a92897 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Thu, 14 Feb 2013 12:37:10 +0100 Subject: [PATCH] netlink: Forward declare frequent libnl types to ease inclusion deps Signed-off-by: Thomas Graf --- include/netlink/netlink.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/netlink/netlink.h b/include/netlink/netlink.h index 5f68548..1d74ba1 100644 --- a/include/netlink/netlink.h +++ b/include/netlink/netlink.h @@ -6,7 +6,7 @@ * License as published by the Free Software Foundation version 2.1 * of the License. * - * Copyright (c) 2003-2006 Thomas Graf + * Copyright (c) 2003-2013 Thomas Graf */ #ifndef NETLINK_NETLINK_H_ @@ -40,6 +40,8 @@ extern "C" { struct ucred; struct nl_cache_ops; struct nl_parser_param; +struct nl_object; +struct nl_sock; extern int nl_debug; extern struct nl_dump_params nl_debug_dp;