1 2 3 4 5 6 7 8 9 10 11 12
http://bugs.gentoo.org/421745 --- examples/read/read.cpp +++ examples/read/read.cpp @@ -43,6 +43,7 @@ #include <cstdio> #include <cstdlib> // MAX_PATH #include <climits> // PATH_MAX +#include <unistd.h> // getcwd #if defined(__WIN32__) || defined(WIN32)