From 9471f82feaafbcce9b9542133dc82f7173bf6702 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 11 Aug 2016 13:40:22 +0200 Subject: [PATCH] Fixed missing include preventing symbol export. --- CMakeLists.txt | 7 +++---- libfreerdp/gdi/brush.c | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b58699d..34f14a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,8 @@ elseif(NOT DEFINED EXPORT_ALL_SYMBOLS) endif() if (EXPORT_ALL_SYMBOLS) - set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) +# set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + add_definitions(-DFREERDP_TEST_EXPORTS -DBUILD_TESTING) endif(EXPORT_ALL_SYMBOLS) # BSD @@ -787,9 +788,7 @@ endif() include(CTest) if(BUILD_TESTING) - add_definitions(-DFREERDP_TEST_EXPORTS -DBUILD_TESTING) - - enable_testing() + enable_testing() if(MSVC) set(TESTING_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}") diff --git a/libfreerdp/gdi/brush.c b/libfreerdp/gdi/brush.c index 9b86c96..9118aad 100644 --- a/libfreerdp/gdi/brush.c +++ b/libfreerdp/gdi/brush.c @@ -33,6 +33,7 @@ #include #include +#include "brush.h" #include "clipping.h" #define TAG FREERDP_TAG("gdi.brush") -- 2.7.4