Commit 1032b772 1032b7723bba928d0b8dd44b0f2c88fa6c7df606 by Sergey Poznyakoff

Protect definition of _XOPEN_SOURCE by an extra ifdef

1 parent 27419f1a
...@@ -41,7 +41,9 @@ ...@@ -41,7 +41,9 @@
41 41
42 #ifdef WITH_PTHREAD 42 #ifdef WITH_PTHREAD
43 # ifdef HAVE_PTHREAD_H 43 # ifdef HAVE_PTHREAD_H
44 # ifdef _XOPEN_SOURCE
44 # define _XOPEN_SOURCE 500 45 # define _XOPEN_SOURCE 500
46 # endif
45 # include <pthread.h> 47 # include <pthread.h>
46 # endif 48 # endif
47 #endif 49 #endif
......