From 0f9f0fca713952e980a4d7aa057e2d82259b7770 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 15 Aug 2020 01:06:01 +0300 Subject: shalt: define '_XOPEN_SOURCE' value --- bin/shalt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/shalt.c b/bin/shalt.c index 9dc0028..e47e7df 100644 --- a/bin/shalt.c +++ b/bin/shalt.c @@ -1,8 +1,10 @@ /* shalt -- simple halt utility */ -#include +#define _XOPEN_SOURCE 500 + #include #include #include +#include static char *argv0; #include "arg.h" -- cgit v1.2.3