summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-20 12:47:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-20 12:47:11 +0100
commitcc379455b9af020d4a3d16885da92289dc15d458 (patch)
tree973f31ebfbbe9df2a7492e10c9e587cab30d1fb9 /CMakeLists.txt
parent9a357fb2821fd418a02a7b9429c26875ee257556 (diff)
downloadrspamd-cc379455b9af020d4a3d16885da92289dc15d458.tar.gz
rspamd-cc379455b9af020d4a3d16885da92289dc15d458.zip
More fixes for Solaris.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6441322da..53b9dc531 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -294,7 +294,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${SUN_BUILD64}")
ENDIF (BUILD_CPU_MODE STREQUAL "32")
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__EXTENSIONS__ -DSOLARIS")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__EXTENSIONS__ -DSOLARIS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200112L")
IF(CMAKE_INSTALL_PREFIX)
IF(NOT ETC_PREFIX)