[geany/geany-plugins] 8d4c2c: Merge pull request #778 from Skif-off/geanylua-fix

Frank Lanitz git-noreply at xxxxx
Sun Apr 14 15:23:58 UTC 2019


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 14 Apr 2019 15:23:58 UTC
Commit:      8d4c2cfea6318f297857f5f034404d12cb29dee3
             https://github.com/geany/geany-plugins/commit/8d4c2cfea6318f297857f5f034404d12cb29dee3

Log Message:
-----------
Merge pull request #778 from Skif-off/geanylua-fix

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