Pārlūkot izejas kodu

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

Stasik0 9 gadi atpakaļ
vecāks
revīzija
8e3aaea991
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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()