[geany/geany-plugins] 1440c3: GeanyLua: Fix build warnings (codebrainz's patch)

Skif-off git-noreply at xxxxx
Thu Apr 4 08:18:27 UTC 2019


Branch:      refs/heads/master
Author:      Skif-off <Skif-off at users.noreply.github.com>
Committer:   Skif-off <Skif-off at users.noreply.github.com>
Date:        Thu, 04 Apr 2019 08:18:27 UTC
Commit:      1440c3606be3ad02ba2725595c0239c068d1fe71
             https://github.com/geany/geany-plugins/commit/1440c3606be3ad02ba2725595c0239c068d1fe71

Log Message:
-----------
GeanyLua: Fix build warnings (codebrainz's patch)


Modified Paths:
--------------
    configure.ac
    geanylua/glspi_app.c

Modified: configure.ac
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -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


Modified: geanylua/glspi_app.c
5 lines changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -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>



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list