Define _DEFAULT_SOURCE with _BSD_SOURCE (issue #625)

This commit is contained in:
o9000 2017-03-05 11:45:38 +01:00
parent 4a5f0a7d83
commit cc74af00ba

View file

@ -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