improve clean targets
[buildroot.git] / package / sfdisk / sfdisk.001.include_sys_syscalls_h.patch
blobdd3595178613491a69ed9a04b2af02e1b3e0e578
1 --- sfdisk/sfdisk.c.oorig 2006-10-09 16:24:06.000000000 +0200
2 +++ sfdisk/sfdisk.c 2006-10-09 16:24:20.000000000 +0200
3 @@ -47,6 +47,9 @@
4 #include <sys/stat.h>
5 #include <sys/utsname.h>
6 #ifdef __linux__
7 +#define _LIBC
8 +#include <sys/syscall.h>
9 +#undef _LIBC
10 #include <linux/unistd.h> /* _syscall */
11 #endif
12 #include "nls.h"