diff options
Diffstat (limited to 'pr/tests/thrpool_server.c')
-rw-r--r-- | pr/tests/thrpool_server.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pr/tests/thrpool_server.c b/pr/tests/thrpool_server.c index df56560e..e10dd5bd 100644 --- a/pr/tests/thrpool_server.c +++ b/pr/tests/thrpool_server.c @@ -54,6 +54,13 @@ #include <pthread.h> #endif +/* for getcwd */ +#if defined(XP_UNIX) || defined (XP_OS2_EMX) || defined(XP_BEOS) +#include <unistd.h> +#elif defined(XP_PC) +#include <direct.h> +#endif + #ifdef WIN32 #include <process.h> #endif |