[PATCH 3/3] Add support libcap1

Kirill A. Korinskiy catap+nginx at catap.ru
Thu Mar 19 03:38:28 MSK 2009


From: Kirill A. Korinskiy <catap at catap.ru>

---
 src/os/unix/ngx_user.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/os/unix/ngx_user.c b/src/os/unix/ngx_user.c
index d3f6b5bd1d7d379ff4de9418955bcc285f0696d4..c6f0bdb7a16ef5d896998f56bfd9532ff6689dad 100644
--- a/src/os/unix/ngx_user.c
+++ b/src/os/unix/ngx_user.c
@@ -8,6 +8,7 @@
 #include <ngx_core.h>
 
 #if (NGX_HAVE_CAPABILITIES)
+#undef _POSIX_SOURCE
 #include <sys/capability.h>
 #endif
 
-- 
1.6.2






More information about the nginx mailing list