From d5c1a95eac90ff700f778503c189ddfea79c296f Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Fri, 14 Jan 2011 00:22:44 +0100 Subject: define _POSIX_SOURCE for C99 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b5fe59..3808ec5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.6) project(OXEN) # Set C compiler flags -set(CMAKE_C_FLAGS "-Wall -pedantic -g -std=c99") +set(CMAKE_C_FLAGS "-Wall -pedantic -g -std=c99 -D_POSIX_SOURCE") # Find dependencies # Find ncurses -- cgit v1.2.3