diff options
author | Thomas Haller <thaller@redhat.com> | 2023-08-07 08:01:31 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-08-07 08:07:19 (GMT) |
commit | f94139153e7e8973e1ad4864b6a2c0153188a910 (patch) | |
tree | 558bd90024e998f454eeb86be5c68f2e3c794250 /include | |
parent | 680df1730e74e9714f16c819951cd44a19e47d83 (diff) | |
download | libnl-f94139153e7e8973e1ad4864b6a2c0153188a910.zip libnl-f94139153e7e8973e1ad4864b6a2c0153188a910.tar.gz libnl-f94139153e7e8973e1ad4864b6a2c0153188a910.tar.bz2 |
include: fix headers "include/netlink/route/{netconf.h,route/qdisc/red.h}" to be self-contained
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/netconf.h | 2 | ||||
-rw-r--r-- | include/netlink/route/qdisc/red.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink/route/netconf.h b/include/netlink/route/netconf.h index 7006c6e..a6b1f89 100644 --- a/include/netlink/route/netconf.h +++ b/include/netlink/route/netconf.h @@ -10,6 +10,8 @@ extern "C" { #endif +struct nl_sock; +struct nl_cache; struct rtnl_netconf; int rtnl_netconf_alloc_cache(struct nl_sock *sk, struct nl_cache **result); diff --git a/include/netlink/route/qdisc/red.h b/include/netlink/route/qdisc/red.h index 51d38ed..c6c841b 100644 --- a/include/netlink/route/qdisc/red.h +++ b/include/netlink/route/qdisc/red.h @@ -7,6 +7,7 @@ #define NETLINK_RED_H_ #include <netlink/netlink.h> +#include <netlink/route/qdisc.h> extern void rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit); extern int rtnl_red_get_limit(struct rtnl_qdisc *qdisc); |