]> granicus.if.org Git - pdns/commitdiff
compile fix from Matthijs
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 9 Apr 2005 17:12:40 +0000 (17:12 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 9 Apr 2005 17:12:40 +0000 (17:12 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@339 d19b8d6e-7fed-0310-83ef-9ca221ded41b

modules/gsqlitebackend/ssqlite.cc

index 92ce87c16183abb29813d56711fbd8cb0df145a0..1cdc907c0b04072fe5601817a73fc419c483ff61 100644 (file)
@@ -13,7 +13,9 @@
 # include <io.h>
 # define access _access
 # define F_OK 0
-#endif // WIN32
+#else // WIN32
+# include <unistd.h>
+#endif // Unix
 
 // Constructor.
 SSQLite::SSQLite( const std::string & database )