Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From 8bf41ff310ec16332e27ea49c73ca43ba5b26e55 Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Thu, 4 Mar 2021 18:42:21 +0000 >Subject: [PATCH] proto.c: add definiton of "_POSIX_C_SOURCE" for "kill(2)" proto.c: The function "kill(2)" needs "_POSIX_C_SOURCE" to be defined to get its prototype declaration, see "man 2 kill" and "feature_test_macros(7)." Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- proto.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proto.c b/proto.c index 1ef23a1..3a9e256 100644 --- a/proto.c +++ b/proto.c @@ -5,6 +5,11 @@ * Master/slave communication and locking. */ +/* Needed for kill(2) */ +#ifndef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE 1 +#endif + #include <stdlib.h> #include <unistd.h> #include <signal.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