sfdisk.001.include_sys_syscalls_h.patch 326 B

123456789101112
  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"