Something like this:
diff --git a/configure.ac b/configure.ac
index 7fb7d402..fa3bf5a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,6 +9,7 @@ AC_CONFIG_SRCDIR([po/POTFILES.in])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([build/cache])
+AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AC_PROG_CC_C99
AM_PROG_CC_C_O
diff --git a/geanylua/glspi_app.c b/geanylua/glspi_app.c
index 23818170..f6379f74 100644
--- a/geanylua/glspi_app.c
+++ b/geanylua/glspi_app.c
@@ -4,7 +4,10 @@
* See the file "geanylua.c" for copyright information.
*/
-#define _BSD_SOURCE /* for stat() and lstat() */
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/stat.h>
#include <stdlib.h>
#include <unistd.h>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.