summaryrefslogtreecommitdiff
path: root/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch')
-rw-r--r--package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch b/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
new file mode 100644
index 000000000..dd3595178
--- /dev/null
+++ b/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
@@ -0,0 +1,12 @@
+--- sfdisk/sfdisk.c.oorig 2006-10-09 16:24:06.000000000 +0200
++++ sfdisk/sfdisk.c 2006-10-09 16:24:20.000000000 +0200
+@@ -47,6 +47,9 @@
+ #include <sys/stat.h>
+ #include <sys/utsname.h>
+ #ifdef __linux__
++#define _LIBC
++#include <sys/syscall.h>
++#undef _LIBC
+ #include <linux/unistd.h> /* _syscall */
+ #endif
+ #include "nls.h"