Unverified Commit c35ddce9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel Committed by GitHub
Browse files

Merge pull request #793 from JeffreyDeanBrown/master

Update imlib.c to include #define _GNU_SOURCE
parents 94bd8609 dee7b910
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ VERSION ?= ${shell git describe --dirty}
app ?= 0
curl ?= 1
debug ?= 0
glibc ?= 0
exif ?= 0
help ?= 0
magic ?= 0
@@ -57,6 +58,10 @@ else
	MAN_DEBUG = .
endif

ifeq (${glibc},1)
	CFLAGS += -DHAVE_GNU
endif

ifeq (${help},1)
	CFLAGS += -DINCLUDE_HELP
endif
+8 −0
Original line number Diff line number Diff line
@@ -24,6 +24,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/

/*
 * mkstemps(3) is a nonstandard extension that requires defining
 * _GNU_SOURCE for glibc
 */
#ifdef HAVE_GNU
#define _GNU_SOURCE
#endif

#include "feh.h"
#include "filelist.h"
#include "signals.h"