logo

utils-std

Collection of commonly available Unix tools
commit: eed246337f441f0124ec022f0cf4d5eb709fea1f
parent b97dde853e8d068f67fab7ade82fdeb7124fb516
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 23 Apr 2024 10:53:17 +0200

cmd/test.c: Add POSIX + XSI defines for glibc

Diffstat:

Mcmd/test.c2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/cmd/test.c b/cmd/test.c @@ -11,6 +11,8 @@ * * This program is in the Public Domain. */ +#define _POSIX_C_SOURCE 200809L +#define _XOPEN_SOURCE 700 // S_ISVTX for -k option #include <ctype.h> #include <err.h>