summaryrefslogtreecommitdiff
path: root/ext/standard/flock_compat.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-11-23 19:03:21 +0000
committerDerick Rethans <derick@php.net>2002-11-23 19:03:21 +0000
commit36e82c84aed734330d6c39ee78a95e6772594f4c (patch)
tree5bd3ae25848376edd7a67525f77faaec19712efd /ext/standard/flock_compat.c
parentc7dc6c0e0072544f88c4080548ee2ffe6a9f9462 (diff)
downloadphp-git-36e82c84aed734330d6c39ee78a95e6772594f4c.tar.gz
- Make it compile on IRIX again
#- Tested with Linux/FreeBSD and IRIX
Diffstat (limited to 'ext/standard/flock_compat.c')
-rw-r--r--ext/standard/flock_compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c
index 03f7876909..b431e02033 100644
--- a/ext/standard/flock_compat.c
+++ b/ext/standard/flock_compat.c
@@ -25,6 +25,7 @@
#if HAVE_STRUCT_FLOCK
#include <unistd.h>
#include <fcntl.h>
+#include <sys/file.h>
#endif
#ifdef PHP_WIN32