diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/drm_fb.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f523ece..e16ab97 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ PKG_CHECK_MODULES(SDL, sdl2, AM_CONDITIONAL(ENABLE_ROTOTILLER, [test "x$build_rototiller" = xtrue]) LIBS="$DRM_LIBS $SDL_LIBS $LIBS" -CFLAGS="$DRM_CFLAGS $SDL_CFLAGS $CFLAGS" +CFLAGS="$DRM_CFLAGS $SDL_CFLAGS $CFLAGS -D_GNU_SOURCE" AX_PTHREAD LIBS="$PTHREAD_LIBS $LIBS" diff --git a/src/drm_fb.c b/src/drm_fb.c index fe2fefd..7c0aadc 100644 --- a/src/drm_fb.c +++ b/src/drm_fb.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE /* for asprintf() */ #include <assert.h> #include <fcntl.h> #include <inttypes.h> |