* [PATCH] configure: Define _GNU_SOURCE when checking for setns
@ 2022-08-11 5:34 Khem Raj
2022-08-12 15:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2022-08-11 5:34 UTC (permalink / raw)
To: netdev; +Cc: Khem Raj
glibc defines this function only as gnu extention
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index 440facb..c02753b 100755
--- a/configure
+++ b/configure
@@ -191,6 +191,7 @@ check_ipt_lib_dir()
check_setns()
{
cat >$TMPDIR/setnstest.c <<EOF
+#define _GNU_SOURCE
#include <sched.h>
int main(int argc, char **argv)
{
--
2.37.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-12 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-11 5:34 [PATCH] configure: Define _GNU_SOURCE when checking for setns Khem Raj
2022-08-12 15:30 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.