diff options
author | yenatch <yenatch@gmail.com> | 2017-06-24 16:42:44 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-06-24 16:42:44 -0400 |
commit | 80f7477c3343517a96c6effcaf96f40c38f8f4d7 (patch) | |
tree | 9ff8d6658e38ecd4bde88f819fff3e0a8a5cc327 | |
parent | 9b1550c5e0abf20da5c7043c3ac49260fac79147 (diff) |
Fix tools/gfx
-rw-r--r-- | tools/Makefile | 4 | ||||
-rw-r--r-- | tools/gfx.c | 1 |
2 files changed, 4 insertions, 1 deletions
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 <stdbool.h> #include <getopt.h> #include <string.h> +#include <stdint.h> #include "common.h" |