forked from pool/hxtools
Fix build: clone needs _GNU_SOURCE defined to be visible (forwarded request 80169 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/80174 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hxtools?expand=0&rev=8
13 lines
369 B
Diff
13 lines
369 B
Diff
Index: hxtools-20110721/sadmin/newns.c
|
|
===================================================================
|
|
--- hxtools-20110721.orig/sadmin/newns.c
|
|
+++ hxtools-20110721/sadmin/newns.c
|
|
@@ -2,6 +2,7 @@
|
|
* newns - start a new mount namespace
|
|
* released in the Public Domain
|
|
*/
|
|
+#define _GNU_SOURCE 1
|
|
#include <sys/types.h>
|
|
#include <sys/wait.h>
|
|
#include <sched.h>
|