summaryrefslogtreecommitdiffstats
path: root/main/nginx
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-05 09:45:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-05 09:45:26 +0000
commit2c964e6a6acf11009697728606a131380b20bbc2 (patch)
tree4d9255f82a89cf3641fe62a779fc97ad5ec88330 /main/nginx
parente437ac237e4e5318c67bf1798787d415387bbe6e (diff)
downloadaports-2c964e6a6acf11009697728606a131380b20bbc2.tar.bz2
aports-2c964e6a6acf11009697728606a131380b20bbc2.tar.xz
main/nginx: add missing file
Diffstat (limited to 'main/nginx')
-rw-r--r--main/nginx/musl-sysctl-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/nginx/musl-sysctl-header.patch b/main/nginx/musl-sysctl-header.patch
new file mode 100644
index 000000000..e851cbd74
--- /dev/null
+++ b/main/nginx/musl-sysctl-header.patch
@@ -0,0 +1,12 @@
+--- ./src/os/unix/ngx_linux_config.h.orig
++++ ./src/os/unix/ngx_linux_config.h
+@@ -51,7 +51,9 @@
+ #include <malloc.h> /* memalign() */
+ #include <limits.h> /* IOV_MAX */
+ #include <sys/ioctl.h>
++#ifdef __GLIBC__
+ #include <sys/sysctl.h>
++#endif
+ #include <crypt.h>
+ #include <sys/utsname.h> /* uname() */
+