瀏覽代碼

use /deps/queue.h only. related to #167

Julius Pfrommer 9 年之前
父節點
當前提交
b2e4fb3438
共有 3 個文件被更改,包括 3 次插入18 次删除
  1. 1 6
      src/server/ua_securechannel_manager.h
  2. 1 6
      src/server/ua_server_internal.h
  3. 1 6
      src/server/ua_session_manager.h

+ 1 - 6
src/server/ua_securechannel_manager.h

@@ -1,12 +1,7 @@
 #ifndef UA_CHANNEL_MANAGER_H_
 #define UA_CHANNEL_MANAGER_H_
 
-#ifdef _WIN32
-# include "../deps/queue.h"
-#else
-# include <sys/queue.h>
-#endif
-
+#include "../deps/queue.h"
 #include "ua_server.h"
 #include "ua_securechannel.h"
 #include "ua_util.h"

+ 1 - 6
src/server/ua_server_internal.h

@@ -9,12 +9,7 @@
 #include <urcu/wfcqueue.h>
 #endif
 
-#ifdef _WIN32
-# include "../deps/queue.h"
-#else
-# include <sys/queue.h>
-#endif
-
+#include "../deps/queue.h"
 #include "ua_server.h"
 #include "ua_session_manager.h"
 #include "ua_securechannel_manager.h"

+ 1 - 6
src/server/ua_session_manager.h

@@ -1,12 +1,7 @@
 #ifndef UA_SESSION_MANAGER_H_
 #define UA_SESSION_MANAGER_H_
 
-#ifdef _WIN32
-# include "../deps/queue.h"
-#else
-# include <sys/queue.h>
-#endif
-
+#include "../deps/queue.h"
 #include "ua_server.h"
 #include "ua_util.h"
 #include "ua_session.h"