configure: Define _GNU_SOURCE when checking for setns
Subsystems (2)
PATCH 1/1 configure: Define _GNU_SOURCE when checking for setns
glibc defines this function only as gnu extention
Signed-off-by Khem Raj <[email protected]>
--- configure | 1 + 1 file changed, 1 insertion(+)
configure +1 -0
@@ -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) {
Signature · 1 line
2.37.1
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:
Hello:
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:
Quoted 6 lines · On Wed, 10 Aug 2022 22:34:40 -0700 you wrote:
glibc defines this function only as gnu extention
Signed-off-by Khem Raj <[email protected]>--- configure | 1 + 1 file changed, 1 insertion(+)
Here is the summary with links:
- configure: Define _GNU_SOURCE when checking for setns
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=d5fe96ab7092
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html