Преглед на файлове

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"