Skip to content

Commit

Permalink
Merge pull request #778 from Skif-off/geanylua-fix
Browse files Browse the repository at this point in the history
GeanyLua: Fix build warnings (codebrainz's patch)
  • Loading branch information
frlan authored Apr 14, 2019
2 parents 615689a + 1440c36 commit 8d4c2cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion geanylua/glspi_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 8d4c2cf

Please sign in to comment.