#984743 execute.c: define _POSIX_C_SOURCE for "kill(2)"

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-03-07 22:27:04 UTC
Severity:
normal
Tags:
#984743#5
Date:
2021-03-07 22:23:05 UTC
From:
To:
Dear Maintainer,

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 execute.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/execute.c b/execute.c
index 04c6afc..738683a 100644
--- a/execute.c
+++ b/execute.c
@@ -5,6 +5,11 @@
  *	UNIX command execution.
  */

+/* define for "kill(2)" */
+#ifndef _POSIX_C_SOURCE
+#def _POSIX_C_SOURCE 200809L
+#endif
+
 #include <stdlib.h>
 #include <sys/types.h>
 #include <unistd.h>