aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/libnl-tiny')
-rw-r--r--package/libs/libnl-tiny/src/include/linux/netlink.h1
-rw-r--r--package/libs/libnl-tiny/src/include/netlink/handlers.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/libs/libnl-tiny/src/include/linux/netlink.h b/package/libs/libnl-tiny/src/include/linux/netlink.h
index d252103d2b..3d6d367b12 100644
--- a/package/libs/libnl-tiny/src/include/linux/netlink.h
+++ b/package/libs/libnl-tiny/src/include/linux/netlink.h
@@ -3,6 +3,7 @@
#include <linux/socket.h> /* for sa_family_t */
#include <linux/types.h>
+#include <sys/socket.h> /* for sa_family_t */
#define NETLINK_ROUTE 0 /* Routing/device hook */
#define NETLINK_UNUSED 1 /* Unused number */
diff --git a/package/libs/libnl-tiny/src/include/netlink/handlers.h b/package/libs/libnl-tiny/src/include/netlink/handlers.h
index 7fb53b4eee..f5c933d0d7 100644
--- a/package/libs/libnl-tiny/src/include/netlink/handlers.h
+++ b/package/libs/libnl-tiny/src/include/netlink/handlers.h
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <stdint.h>
+#include <sys/socket.h>
#include <sys/types.h>
#include <netlink/netlink-compat.h>
#include <netlink/netlink-kernel.h>