void-packages/srcpkgs/mac-fdisk/patches/mac-fdisk-non-glibc-support.patch
q66 3c052ea7dd mac-fdisk: sync patches from adelie
This should also fix it on musl.
2019-11-01 21:34:46 +01:00

14 lines
314 B
Diff

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