Преглед изворни кода

add a define for multithreading

Julius Pfrommer пре 9 година
родитељ
комит
6b52e3c5dc
1 измењених фајлова са 1 додато и 0 уклоњено
  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