blob: 7d49881d3f043e106cc329ab0d60c262e95efeee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.4 2005/05/09 23:50:06 rillig Exp $
Needed for chdir() on POSIX systems.
--- app_state.cc.orig Sun May 1 08:09:52 2005
+++ app_state.cc Mon May 9 19:42:52 2005
@@ -3,6 +3,8 @@
#include <vector>
#ifdef WIN32
#include <io.h> /* for chdir() */
+#else
+#include <unistd.h>
#endif
#include <cstdlib> // for strtoul()
|