diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index 56aec4460de..556445e583a 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -11,6 +11,10 @@ #undef destructor #endif #include + +/* The POSIX spec says that implementations supporting the sem_* + family of functions must indicate this by defining + _POSIX_SEMAPHORES. */ #ifdef _POSIX_SEMAPHORES #include #include