summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2004-01-17 00:29:37 +0000
committerEdin Kadribasic <edink@php.net>2004-01-17 00:29:37 +0000
commit16a02bafc23583f8797368be3eb9027450514129 (patch)
tree3d1b8a98f1b0f300ea433859e0059bc17cb94a54
parente736c01e443afea53ecc95c549c13ab4c26befd8 (diff)
downloadphp-git-16a02bafc23583f8797368be3eb9027450514129.tar.gz
Not everybody has this ;)
-rw-r--r--ext/sqlite/sqlite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c
index 639479559c..d8348daca4 100644
--- a/ext/sqlite/sqlite.c
+++ b/ext/sqlite/sqlite.c
@@ -34,7 +34,9 @@
#if HAVE_TIME_H
# include <time.h>
#endif
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <sqlite.h>