diff options
author | Thomas Haller <thaller@redhat.com> | 2023-08-02 14:34:22 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-08-02 20:20:13 (GMT) |
commit | 862eed54e3882c64a5017789229b6dc9337ace17 (patch) | |
tree | a9ee8a41591ea0b046f4ab9d28f514d7f208c68d /tests/test-genl.c | |
parent | 2b3cd741d9944f799467b5a59fc9f3a94444a479 (diff) | |
download | libnl-862eed54e3882c64a5017789229b6dc9337ace17.zip libnl-862eed54e3882c64a5017789229b6dc9337ace17.tar.gz libnl-862eed54e3882c64a5017789229b6dc9337ace17.tar.bz2 |
all: cleanup includes and use "nm-default.h"
Diffstat (limited to 'tests/test-genl.c')
-rw-r--r-- | tests/test-genl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test-genl.c b/tests/test-genl.c index 42db501..5db23f0 100644 --- a/tests/test-genl.c +++ b/tests/test-genl.c @@ -1,8 +1,12 @@ -#include <netlink/cli/utils.h> +/* SPDX-License-Identifier: LGPL-2.1-only */ + +#include "nl-default.h" #include <linux/taskstats.h> #include <linux/genetlink.h> +#include <netlink/cli/utils.h> + static struct nla_policy attr_policy[TASKSTATS_TYPE_MAX+1] = { [TASKSTATS_TYPE_PID] = { .type = NLA_U32 }, [TASKSTATS_TYPE_TGID] = { .type = NLA_U32 }, |