Merge pull request #1345 from dangowrt/fix-libseccomp-with-musl
libseccomp: work-around prctl.h mess
This commit is contained in:
commit
dfec11ef48
|
@ -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"
|
||||
|
Loading…
Reference in New Issue