http://bugs.gentoo.org/421745 --- examples/read/read.cpp +++ examples/read/read.cpp @@ -43,6 +43,7 @@ #include #include // MAX_PATH #include // PATH_MAX +#include // getcwd #if defined(__WIN32__) || defined(WIN32)