void-packages/srcpkgs/python-setproctitle/patches/musl-linux_prctl_h.patch
2015-10-08 22:06:03 +02:00

13 lines
349 B
Diff

--- src/spt_status.c 2015-07-20 00:44:29.000000000 +0200
+++ src/spt_status.c 2015-10-08 22:04:23.899182363 +0200
@@ -55,8 +55,10 @@
#endif
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h> /* for Linux >= 2.6.9 */
+#if defined(__GLIBC__)
#include <linux/prctl.h>
#endif
+#endif
#if defined(__darwin__)
#include <crt_externs.h>
#endif