|
@@ -24,11 +24,13 @@
|
|
# include <unistd.h> //access
|
|
# include <unistd.h> //access
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#ifndef __USE_XOPEN2K
|
|
|
|
-#define __USE_XOPEN2K
|
|
|
|
#ifdef UA_MULTITHREADING
|
|
#ifdef UA_MULTITHREADING
|
|
-# include <pthread.h>
|
|
|
|
-#endif
|
|
|
|
|
|
+# ifdef UA_NO_AMALGAMATION
|
|
|
|
+# ifndef __USE_XOPEN2K
|
|
|
|
+# define __USE_XOPEN2K
|
|
|
|
+# endif
|
|
|
|
+# endif
|
|
|
|
+#include <pthread.h>
|
|
#endif
|
|
#endif
|
|
/****************************/
|
|
/****************************/
|
|
/* Server-related variables */
|
|
/* Server-related variables */
|