aboutsummaryrefslogblamecommitdiffstats
path: root/community/ubridge/musl-fixes.patch
blob: eac34abe2c4365960463836feff5e7d696ae283f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                
                             

                      







                             
                                                
                             

                      







                                                                
diff --git a/src/netlink/nl.c b/src/netlink/nl.c
index 7a11506..5e7df80 100644
--- a/src/netlink/nl.c
+++ b/src/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/src/netlink/nl.h b/src/netlink/nl.h
index 34aeb36..d25a65d 100644
--- a/src/netlink/nl.h
+++ b/src/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