void-packages/srcpkgs/budgie-screensaver/patches/fix-musl.patch

15 lines
302 B
Diff

diff --git a/src/subprocs.c b/src/subprocs.c
index cc82047..3af405a 100644
--- a/src/subprocs.c
+++ b/src/subprocs.c
@@ -36,6 +36,9 @@
# define fork vfork
#endif /* VMS */
+#ifndef _POSIX_SOURCE
+# define _POSIX_SOURCE
+#endif
#include <signal.h> /* for the signal names */
#include <glib.h>