summaryrefslogtreecommitdiff
path: root/sys-apps/usermode-utilities/files/usermode-utilities-20070815-headers.patch
blob: 00531a1db2bf14575ce04afbe845ac9208acabdb (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
25
26
27
https://bugs.gentoo.org/580816

include headers needed by targets

--- b/uml_net/ethertap.c
+++ a/uml_net/ethertap.c
@@ -13,6 +13,7 @@
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
+#include <sys/select.h>
 #include "host.h"
 #include "output.h"
 

for major/minor macros

--- b/uml_net/host.c
+++ a/uml_net/host.c
@@ -10,6 +10,7 @@
 #include <ctype.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include "output.h"
 #include "host.h"