Add define _GNU_SOURCE for getline()
This commit is contained in:
parent
8207b16598
commit
b3cdde78b1
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ if( NOT IMLIB_BUILD_WITH_X )
|
|||
message( FATAL_ERROR "Imlib is not built with X support" )
|
||||
endif( NOT IMLIB_BUILD_WITH_X )
|
||||
|
||||
add_definitions( -D_GNU_SOURCE )
|
||||
|
||||
include_directories( ${PROJECT_BINARY_DIR}
|
||||
src
|
||||
src/battery
|
||||
|
|
Loading…
Reference in a new issue