summaryrefslogtreecommitdiff
path: root/ext/dba/dba_cdb.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_cdb.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_cdb.c')
-rw-r--r--ext/dba/dba_cdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dba/dba_cdb.c b/ext/dba/dba_cdb.c
index 75192af743..e04545e65f 100644
--- a/ext/dba/dba_cdb.c
+++ b/ext/dba/dba_cdb.c
@@ -29,7 +29,9 @@
#include "php_cdb.h"
#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <fcntl.h>
#if DBA_CDB_BUILTIN