Sfoglia il codice sorgente

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

Julius Pfrommer 9 anni fa
parent
commit
b2e4fb3438

+ 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"