diff --git a/Makefile b/Makefile index a36af17..4845e90 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ UNAME := $(shell uname) ifeq ($(UNAME), Linux) LIBS+=-lrt +CFLAGS+=-std=c11 -D_BSD_SOURCE=1 -D_POSIX_C_SOURCE=200809L endif ifeq ($(UNAME), Darwin) # TODO: Putting GCC in C11 mode breaks things.