Add define _GNU_SOURCE for getline()

This commit is contained in:
o9000 2015-07-12 17:50:59 +02:00
parent 8207b16598
commit b3cdde78b1

View file

@ -33,6 +33,8 @@ if( NOT IMLIB_BUILD_WITH_X )
message( FATAL_ERROR "Imlib is not built with X support" ) message( FATAL_ERROR "Imlib is not built with X support" )
endif( NOT IMLIB_BUILD_WITH_X ) endif( NOT IMLIB_BUILD_WITH_X )
add_definitions( -D_GNU_SOURCE )
include_directories( ${PROJECT_BINARY_DIR} include_directories( ${PROJECT_BINARY_DIR}
src src
src/battery src/battery