Explorar el Código

fixing amalgate on windows @jpfr are you sure to include files from /examples/ in the amalgate? it is pragmatic, but not architecturally-nice

Stasik0 hace 9 años
padre
commit
8e3aaea991
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/ua_util.h

+ 1 - 0
src/ua_util.h

@@ -65,6 +65,7 @@
 #include <inttypes.h>
 
 #ifdef _WIN32
+# include <winsock2.h> //needed for amalgation
 # include <windows.h>
 # undef SLIST_ENTRY
 # define RAND(SEED) (UA_UInt32)rand()