summaryrefslogtreecommitdiff
path: root/sys-apps/makedev/files/makedev-3.23.1-headers.patch
blob: 981a80b14ed5a1bb07d1fef910335e018519acc3 (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
http://bugs.gentoo.org/339674

--- a/sel.h
+++ b/sel.h
@@ -18,6 +18,7 @@
  */
 
 #ifdef MAKEDEV_SELINUX
+#include <limits.h>
 #include <selinux/selinux.h>
 static char secontextname[PATH_MAX + 2];
 static char secontextflag[PATH_MAX + 7];

https://bugs.gentoo.org/580500

--- a/MAKEDEV.c
+++ b/MAKEDEV.c
@@ -17,6 +17,7 @@
  *
  */
 
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>