commit dfec11ef487a8e209bed123477ef16accdea4e54 parent e9f412702746830af6e1d336df7c53893ff456ba Author: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> Date: Mon, 15 Jun 2015 01:20:11 +0300 Merge pull request #1345 from dangowrt/fix-libseccomp-with-musl libseccomp: work-around prctl.h mess Diffstat:
| A | libs/libseccomp/patches/100-dont-use-linux-prctl.h-with-musl.patch | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/libs/libseccomp/patches/100-dont-use-linux-prctl.h-with-musl.patch b/libs/libseccomp/patches/100-dont-use-linux-prctl.h-with-musl.patch @@ -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" +