summaryrefslogtreecommitdiffstats
path: root/tests/test-genl.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-03 06:16:03 (GMT)
committerThomas Haller <thaller@redhat.com>2023-08-03 07:28:44 (GMT)
commit4c1a119acf3ea8df3005bbe4a486f30e659fc8e5 (patch)
tree38c33fb4be6d264b6d6a3fe57798d3e262de70f8 /tests/test-genl.c
parentca06372588166e099f76309dc4af1644ad639b14 (diff)
downloadlibnl-4c1a119acf3ea8df3005bbe4a486f30e659fc8e5.zip
libnl-4c1a119acf3ea8df3005bbe4a486f30e659fc8e5.tar.gz
libnl-4c1a119acf3ea8df3005bbe4a486f30e659fc8e5.tar.bz2
include: include private linux headers with explicit path
We have copies of the linux headers in include/linux-private. For those files, include the copies explicitly. No practice there is no difference, since we build with :-Ilinux-private".
Diffstat (limited to 'tests/test-genl.c')
-rw-r--r--tests/test-genl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-genl.c b/tests/test-genl.c
index 6d15a2f..afb3f69 100644
--- a/tests/test-genl.c
+++ b/tests/test-genl.c
@@ -2,8 +2,9 @@
#include "nl-default.h"
+#include <linux-private/linux/genetlink.h>
+
#include <linux/taskstats.h>
-#include <linux/genetlink.h>
#include <netlink/cli/utils.h>