summaryrefslogtreecommitdiff
path: root/ext/dba/dba_flatfile.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-11-13 12:12:44 +0000
committerEdin Kadribasic <edink@php.net>2002-11-13 12:12:44 +0000
commitaf436aa873439a84f8ba3a73609ff9da6879ea77 (patch)
tree16425206f25feec2e021e44422f04a5605fdf61d /ext/dba/dba_flatfile.c
parent9f2a1ce9d47d8c7e8f1181bc9c0dff69eb149835 (diff)
downloadphp-git-af436aa873439a84f8ba3a73609ff9da6879ea77.tar.gz
Added support for bundled flatfile, cdb and cdb_make handlers
to win32 build of the dba extension.
Diffstat (limited to 'ext/dba/dba_flatfile.c')
-rw-r--r--ext/dba/dba_flatfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dba/dba_flatfile.c b/ext/dba/dba_flatfile.c
index 3cecba173d..a22866c456 100644
--- a/ext/dba/dba_flatfile.c
+++ b/ext/dba/dba_flatfile.c
@@ -29,7 +29,9 @@
#include "libflatfile/flatfile.h"
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>