Browse Source

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

libseccomp: work-around prctl.h mess
lilik-openwrt-22.03
Nikos Mavrogiannopoulos 9 years ago
parent
commit
dfec11ef48
1 changed files with 14 additions and 0 deletions
  1. +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"

Loading…
Cancel
Save