diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/types.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cd0b5b5..980fc52 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,7 +37,7 @@ add_executable(fastd ${BISON_fastd_config_parse_OUTPUTS} ${METHODS} ) -set_target_properties(fastd PROPERTIES COMPILE_FLAGS -pthread ${UECC_CFLAGS_OTHER} LINK_FLAGS -pthread ${UECC_LDFLAGS_OTHER}) +set_target_properties(fastd PROPERTIES COMPILE_FLAGS -pthread ${UECC_CFLAGS_OTHER} COMPILE_DEFINITIONS _GNU_SOURCE LINK_FLAGS -pthread ${UECC_LDFLAGS_OTHER}) target_link_libraries(fastd rt ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARY}) add_custom_target( diff --git a/src/types.h b/src/types.h index abda1bc..b1026b5 100644 --- a/src/types.h +++ b/src/types.h @@ -33,8 +33,6 @@ #ifndef _FASTD_TYPES_H_ #define _FASTD_TYPES_H_ -#define _GNU_SOURCE - #include <config.h> #include <version.h> |