Merge pull request #1345 from dangowrt/fix-libseccomp-with-musl

libseccomp: work-around prctl.h mess
This commit is contained in:
Nikos Mavrogiannopoulos 2015-06-15 01:20:11 +03:00
commit dfec11ef48
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Index: libseccomp-2.2.1/src/system.h
===================================================================
--- libseccomp-2.2.1.orig/src/system.h
+++ libseccomp-2.2.1/src/system.h
@@ -23,7 +23,9 @@
#define _SYSTEM_H
#include <linux/filter.h>
+#ifdef __GLIBC__
#include <linux/prctl.h>
+#endef
#include "configure.h"