Define _DEFAULT_SOURCE with _BSD_SOURCE (issue #625)
This commit is contained in:
parent
4a5f0a7d83
commit
cc74af00ba
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ 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_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}
|
include_directories( ${PROJECT_BINARY_DIR}
|
||||||
src
|
src
|
||||||
|
|
Loading…
Reference in a new issue