Add define _GNU_SOURCE for getline()
o9000 o9000
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -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