logo

utils-std

Collection of commonly available Unix tools
commit: fc900cfa689f8ea4095aa542ba321352fba53171
parent 622070a0c1d12d915d93940256f323b393b64677
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 27 Apr 2024 11:01:02 +0200

cmd/printf: _POSIX_C_SOURCE for strdup on musl

Diffstat:

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

diff --git a/cmd/printf.c b/cmd/printf.c @@ -36,6 +36,8 @@ * and as a builtin for /bin/sh (#define SHELL). */ +#define _POSIX_C_SOURCE 200809L + #include <sys/types.h> #include <ctype.h>