avoid portability issues
@@ -7,7 +7,7 @@ SET(CMAKE_C_STANDARD 11)
# FIND_PACKAGE(PkgConfig REQUIRED)
-SET(CMAKE_C_FLAGS "-std=c99 -Wall -O2 -g ${CC_WARNING_FLAGS} ${CMAKE_C_FLAGS}")
+SET(CMAKE_C_FLAGS "-std=gnu99 -Wall -O2 -g ${CC_WARNING_FLAGS} ${CMAKE_C_FLAGS}")
if(${DISABLE_DEBUG_PRINTF})
SET(CMAKE_C_FLAGS "-DDISABLE_DEBUG_PRINTF ${CMAKE_C_FLAGS}")
