From 8ef94aa82dad746dbbda954a9b9c212e2a6af948 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 23 Jun 2017 08:46:04 +0300 Subject: [PATCH] Fix for Mac OS [#CLICKHOUSE-3094]. --- contrib/libunwind/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/libunwind/CMakeLists.txt b/contrib/libunwind/CMakeLists.txt index d278676d4a0..69f67c52a39 100644 --- a/contrib/libunwind/CMakeLists.txt +++ b/contrib/libunwind/CMakeLists.txt @@ -1,4 +1,4 @@ -add_definitions(-DHAVE_CONFIG_H=1 -D_GNU_SOURCE -Wno-visibility -Wno-header-guard) +add_definitions(-DHAVE_CONFIG_H=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -Wno-visibility -Wno-header-guard) include_directories(include include/tdep src)