Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 14f86301cfd258d8a909fc38e22976235a6b59d6 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sun, 7 Mar 2021 22:16:35 +0000
>Subject: [PATCH] execute.c: define _POSIX_C_SOURCE for "kill(2)"

Signed-off-by: Bjarni Ingi Gislason <bjarn...@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>
-- 
2.30.1



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to