Files
gentoo/sys-process/daemontools/files/0.76-implicit-func-decl-clang16.patch
brahmajit das 2203242354 sys-process/daemontools: fix build w/ clang 16
Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30054
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2023-04-04 10:53:07 +03:00

14 lines
265 B
Diff

diff --git a/sig_pause.c b/sig_pause.c
index 3d1a793..5280934 100644
--- a/sig_pause.c
+++ b/sig_pause.c
@@ -1,5 +1,7 @@
/* Public domain. */
-
+#ifndef _XOPEN_SOURCE
+#define _XOPEN_SOURCE 500
+#endif
#include <signal.h>
#include "sig.h"
#include "hassgprm.h"