mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #1345 from dangowrt/fix-libseccomp-with-musl
libseccomp: work-around prctl.h mess
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
Reference in New Issue
Block a user