diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h index 831c59d4fe2075e4ba18a8a1383565103aaae4b0..cfbde705d432b91a6ea4c12f5b63b30538ac0c18 100644 --- a/src/xpdev/genwrap.h +++ b/src/xpdev/genwrap.h @@ -49,6 +49,9 @@ #include <unistd.h> /* usleep */ #ifdef _THREAD_SAFE #include <pthread.h>/* Check for GNU PTH libs */ + #ifdef _PTH_PTHREAD_H_ + #include <pth.h> + #endif #endif #elif defined(_WIN32) #include <process.h> /* getpid() */