Browse Source

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 years ago
parent
commit
8e3aaea991
1 changed files with 1 additions and 0 deletions
  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()