From 80f7477c3343517a96c6effcaf96f40c38f8f4d7 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 24 Jun 2017 16:42:44 -0400 Subject: [PATCH] Fix tools/gfx --- tools/Makefile | 4 +++- tools/gfx.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 9e40bcd27..57a4d84ce 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,5 +1,7 @@ .PHONY: all +CFLAGS := -std=c99 + all: \ lzcomp \ png_dimensions \ @@ -11,4 +13,4 @@ all: \ @: %: %.c - $(CC) -o $@ $< + $(CC) $(CFLAGS) -o $@ $< diff --git a/tools/gfx.c b/tools/gfx.c index 25de45dbe..0e6864e91 100644 --- a/tools/gfx.c +++ b/tools/gfx.c @@ -3,6 +3,7 @@ #include #include #include +#include #include "common.h"