瀏覽代碼

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 年之前
父節點
當前提交
8e3aaea991
共有 1 個文件被更改,包括 1 次插入0 次删除
  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()