SHA256
1
0
forked from pool/hxtools
hxtools/hxtools-fix-clone.patch
Sascha Peilicke 748824ac12 Accepting request 80174 from devel:libraries:c_c++
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
2011-08-31 08:41:27 +00:00

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>