summaryrefslogtreecommitdiff
path: root/ext/standard/flock_compat.c
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2002-09-05 14:25:07 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2002-09-05 14:25:07 +0000
commit8b8f1e05900875969a171baae9bf61a5871b14e1 (patch)
treeb48b1d843d786b2b1ada613a5b75a1218350c738 /ext/standard/flock_compat.c
parenteb58557e1cc244218c867437d7e018eb6a64e553 (diff)
downloadphp-git-8b8f1e05900875969a171baae9bf61a5871b14e1.tar.gz
NetWare related additions/modifications
Diffstat (limited to 'ext/standard/flock_compat.c')
-rw-r--r--ext/standard/flock_compat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c
index 7cec78dbe9..35f7ea411e 100644
--- a/ext/standard/flock_compat.c
+++ b/ext/standard/flock_compat.c
@@ -32,6 +32,14 @@
#include <io.h>
#endif
+#ifdef NETWARE
+#ifdef NEW_LIBC
+#include <netinet/in.h>
+#else
+#include <sys/socket.h>
+#endif
+#endif
+
#ifndef HAVE_FLOCK
int flock(int fd, int operation)
#if HAVE_STRUCT_FLOCK