Commit 1032b772 1032b7723bba928d0b8dd44b0f2c88fa6c7df606 by Sergey Poznyakoff

Protect definition of _XOPEN_SOURCE by an extra ifdef

1 parent 27419f1a
......@@ -41,7 +41,9 @@
#ifdef WITH_PTHREAD
# ifdef HAVE_PTHREAD_H
# ifdef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500
# endif
# include <pthread.h>
# endif
#endif
......