diff --git a/CMakeLists.txt b/CMakeLists.txt index e5be9f3..ab75457 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,7 @@ list(APPEND RE_DEFINITIONS VER_MAJOR=${PROJECT_VERSION_MAJOR} VER_MINOR=${PROJECT_VERSION_MINOR} VER_PATCH=${PROJECT_VERSION_PATCH} + _GNU_SOURCE ) add_compile_definitions(${RE_DEFINITIONS}) diff --git a/modules/vidloop/vidloop.c b/modules/vidloop/vidloop.c index 733e775..ecf81c8 100644 --- a/modules/vidloop/vidloop.c +++ b/modules/vidloop/vidloop.c @@ -3,8 +3,6 @@ * * Copyright (C) 2010 Alfred E. Heggestad */ -#define _DEFAULT_SOURCE 1 -#define _BSD_SOURCE 1 #include #include #include