summaryrefslogtreecommitdiff
path: root/user/mac-fdisk/mac-fdisk-non-glibc-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/mac-fdisk/mac-fdisk-non-glibc-support.patch')
-rw-r--r--user/mac-fdisk/mac-fdisk-non-glibc-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/mac-fdisk/mac-fdisk-non-glibc-support.patch b/user/mac-fdisk/mac-fdisk-non-glibc-support.patch
new file mode 100644
index 000000000..ae54822b2
--- /dev/null
+++ b/user/mac-fdisk/mac-fdisk-non-glibc-support.patch
@@ -0,0 +1,14 @@
+--- a/io.c 2016-01-24 03:19:51.647734970 -0600
++++ b/io.c 2016-01-24 03:27:08.952825190 -0600
+@@ -31,11 +31,9 @@
+ #ifndef __linux__
+ #include <SCSI.h>
+ #else
+-#ifdef __GLIBC__
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #endif
+-#endif
+ #include <linux/unistd.h>
+ #include <unistd.h>
+ #include <string.h>