Include direct.h for chdir on Windows
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 18 Nov 2008 13:31:50 +0000 (14:31 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 18 Nov 2008 13:31:50 +0000 (14:31 +0100)
src/metaproxy_prog.cpp

index 5538532..177eb9f 100644 (file)
@@ -34,6 +34,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef WIN32
+#include <direct.h>
+#endif
 
 namespace mp = metaproxy_1;