aboutsummaryrefslogtreecommitdiffstats
path: root/community/ubridge/musl-fixes.patch
blob: 426408051019c4d43bd3d0e6aa2b6b78900a9ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/netlink/nl.c b/netlink/nl.c
index 7a11506..5e7df80 100644
--- a/netlink/nl.c
+++ b/netlink/nl.c
@@ -29,6 +29,7 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <linux/netlink.h>
+#include <sys/types.h>
 #include <linux/rtnetlink.h>
 #include "nl.h"
 
diff --git a/netlink/nl.h b/netlink/nl.h
index 34aeb36..d25a65d 100644
--- a/netlink/nl.h
+++ b/netlink/nl.h
@@ -26,6 +26,7 @@
 /*
  * Use this as a good size to allocate generic netlink messages
  */
+#include <sys/types.h>
 #ifndef PAGE_SIZE
 #define PAGE_SIZE 4096
 #endif