summaryrefslogblamecommitdiffstats
path: root/package/sfdisk/sfdisk.001.include_sys_syscalls_h.patch
blob: dd3595178613491a69ed9a04b2af02e1b3e0e578 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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"