summaryrefslogtreecommitdiffstats
path: root/lib/utils.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 /lib/utils.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 'lib/utils.c')
-rw-r--r--lib/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils.c b/lib/utils.c
index f407294..1c554e2 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -23,8 +23,8 @@
#include <stdlib.h>
#include <locale.h>
-#include <linux/socket.h>
-#include <linux/if_arp.h>
+#include <linux-private/linux/socket.h>
+#include <linux-private/linux/if_arp.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>