Explorar o 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 %!s(int64=9) %!d(string=hai) anos
pai
achega
8e3aaea991
Modificáronse 1 ficheiros con 1 adicións e 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()