void-packages/srcpkgs/gnome-chess/patches/musl_prctl_h.patch

13 lines
273 B
Diff
Raw Normal View History

2015-08-16 07:11:17 +02:00
--- src/portability.c 2015-06-14 08:56:28.000000000 +0200
+++ src/portability.c 2015-08-16 07:08:47.011801803 +0200
@@ -14,7 +14,9 @@
#if HAVE_LINUX_PRCTL_H
#include <signal.h>
+#if defined(__GLIBC__)
#include <linux/prctl.h>
+#endif
#include <sys/prctl.h>
#endif