Explorar el Código

add a define for multithreading

Julius Pfrommer hace 9 años
padre
commit
6b52e3c5dc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      examples/server.c

+ 1 - 0
examples/server.c

@@ -24,6 +24,7 @@
 # include <unistd.h> //access
 #endif
 
+#define __USE_XOPEN2K
 #ifdef UA_MULTITHREADING
 # include <pthread.h>
 #endif