  
  # generate code from xml definitions
  file(MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/src_generated")
+diff --git a/src/ua_util.h b/src/ua_util.h
+index 5ec1191..65e1a4d 100644
+--- a/src/ua_util.h
++++ b/src/ua_util.h
+@@ -5,7 +5,7 @@
+ 
+ #include <stddef.h> /* Needed for sys/queue.h */
+ #ifndef WIN32
+-#include <sys/queue.h>
++#include "queue.h"
+ #include <alloca.h>
+ #else
+ #include "queue.h"
+-- 
+2.2.0
+

commit b801b9275cb93f2cea1dce231f01780bed9834ca
Author: FlorianPalm <f.palm@plt.rwth-aachen.de>
Date:   Wed Dec 10 10:21:44 2014 +0100

    changes for WAGO 750-860

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87489b3..76c4aa0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,19 +41,16 @@ set(lib_sources src/ua_types.c
 
 # compiler flags
 if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")

 
 ## logging
 set(UA_LOGLEVEL 400 CACHE STRING "Level at which logs shall be reported")
@@ -170,7 +167,7 @@ endif()
 configure_file("src/ua_config.h.in" "${PROJECT_BINARY_DIR}/src_generated/ua_config.h")
 
 # download queue.h if required
