aboutsummaryrefslogtreecommitdiff
path: root/utils/mt-st/patches/010-sysmacros.patch
blob: 94abc2ef884056f9c2d00d6f0129e0285c89a207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/mt.c
+++ b/mt.c
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
+#include <sys/sysmacros.h>
 #include <sys/stat.h>
 #include <sys/utsname.h>
 
--- a/stinit.c
+++ b/stinit.c
@@ -16,6 +16,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <dirent.h>
+#include <limits.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/sysmacros.h>