Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: unshare() is only available with _GNU_SOURCE ......................................................................
unshare() is only available with _GNU_SOURCE
Change-Id: I4d11685e2aaf165ca56f3bb622a1a8dfd2864d9e --- M encapsulate.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/encapsulate refs/changes/26/44826/1
diff --git a/encapsulate.c b/encapsulate.c index 439fd93..e3a4d93 100644 --- a/encapsulate.c +++ b/encapsulate.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+#define _GNU_SOURCE + #include <sys/types.h> #include <sys/stat.h> #include <sys/mount.h>