From 900c92595f14d42bd7e56936ff0728f91333d297 Mon Sep 17 00:00:00 2001 From: tater Date: Sat, 10 Sep 2016 06:00:26 -0500 Subject: [PATCH] c99 for the assburger --- Makefile | 4 ++-- a2m.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6cd4b35..a125de5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PROG := a2m SRC := a2m.c CC := cc -CFLAGS += -g -Wall +CFLAGS += -g -std=c99 -Wall UNAME := $(shell sh -c 'UNAME -s 2>/dev/null') @@ -15,4 +15,4 @@ default: $(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(PROG) clean: - rm -rf $(PROG) $(PROG).dSYM \ No newline at end of file + rm -rf $(PROG) $(PROG).dSYM diff --git a/a2m.c b/a2m.c index c29907c..1156eac 100644 --- a/a2m.c +++ b/a2m.c @@ -7,6 +7,7 @@ #include #include #include +#include #define DEFAULT_FG 7 #define DEFAULT_BG 0