diff options
author | Edin Kadribasic <edink@php.net> | 2002-11-13 12:12:44 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2002-11-13 12:12:44 +0000 |
commit | af436aa873439a84f8ba3a73609ff9da6879ea77 (patch) | |
tree | 16425206f25feec2e021e44422f04a5605fdf61d /ext/dba/libcdb/cdb.c | |
parent | 9f2a1ce9d47d8c7e8f1181bc9c0dff69eb149835 (diff) | |
download | php-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/libcdb/cdb.c')
-rw-r--r-- | ext/dba/libcdb/cdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/dba/libcdb/cdb.c b/ext/dba/libcdb/cdb.c index e712521722..df0375354a 100644 --- a/ext/dba/libcdb/cdb.c +++ b/ext/dba/libcdb/cdb.c @@ -28,8 +28,12 @@ #include <sys/types.h> #include <sys/stat.h> +#ifndef PHP_WIN32 #include <sys/mman.h> +#endif +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <string.h> #include <errno.h> #include "cdb.h" |