Define _DEFAULT_SOURCE with _BSD_SOURCE (issue #625)
This commit is contained in:
@@ -82,7 +82,7 @@ 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_POSIX_C_SOURCE=200809L -D_BSD_SOURCE )
|
||||
add_definitions( -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE -D_DEFAULT_SOURCE )
|
||||
|
||||
include_directories( ${PROJECT_BINARY_DIR}
|
||||
src
|
||||
|
||||
Reference in New Issue
Block a user