This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#1345
from dangowrt/fix-libseccomp-with-musl
libseccomp: work-around prctl.h mess
lilik-openwrt-22.03
Nikos Mavrogiannopoulos
10 years ago
parent
e9f4127027
e1a1eed25f
commit
dfec11ef48
1 changed files
with
14 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
libs/libseccomp/patches/100-dont-use-linux-prctl.h-with-musl.patch
+ 14
- 0
libs/libseccomp/patches/100-dont-use-linux-prctl.h-with-musl.patch
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"
Write
Preview
Loading…
Cancel
Save