diff --git a/C/pl-yap.c b/C/pl-yap.c index 32c394f6a..171c60cf4 100755 --- a/C/pl-yap.c +++ b/C/pl-yap.c @@ -18,6 +18,11 @@ #if HAVE_MATH_H #include #endif +#if __WINDOWS__ +#include + +#define getpid _getpid +#endif #ifdef HAVE_LIMITS_H #include