init

Init system
git clone git://git.carbslinux.org/init
Log | Files | Refs | README | LICENSE

commit 0f9f0fca713952e980a4d7aa057e2d82259b7770
parent ea6727af788da0cbddbdc270e18464a7f33e2e0a
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 15 Aug 2020 01:06:01 +0300

shalt: define '_XOPEN_SOURCE' value

Diffstat:
Mbin/shalt.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/shalt.c b/bin/shalt.c @@ -1,8 +1,10 @@ /* shalt -- simple halt utility */ -#include <sys/reboot.h> +#define _XOPEN_SOURCE 500 + #include <stdio.h> #include <stdlib.h> #include <unistd.h> +#include <sys/reboot.h> static char *argv0; #include "arg.h"