diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | nullshell.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -6,7 +6,7 @@ CC := gcc MD := markdown INSTALL := install RM := rm -CFLAGS += -O2 -Wall -Werror +CFLAGS += -std=c11 -O2 -Wall -Werror # this is just a fallback in case you do not use git but downloaded # a release tarball... VERSION := 0.0.5 diff --git a/nullshell.c b/nullshell.c index 7422b4a..ef054ab 100644 --- a/nullshell.c +++ b/nullshell.c @@ -8,6 +8,8 @@ * by Mario A. Valdez-Ramirez (http://www.mariovaldez.net/) */ +#define _GNU_SOURCE + #include <inttypes.h> #include <signal.h> #include <stdio.h> |