logo

utils-std

Collection of commonly available Unix tools
commit: ade6a7d5ccef847e8cbe3d316b31c371ac57a648
parent 2293ddbd256819b884bf784c49492bb583d0ead3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 27 Jan 2024 16:13:22 +0100

cmd/date: _XOPEN_SOURCE for strptime

Diffstat:

Mcmd/date.c4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/date.c b/cmd/date.c @@ -1,9 +1,9 @@ // utils-std: Collection of commonly available Unix tools -// SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +// SPDX-FileCopyrightText: 2017-2024 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> // SPDX-License-Identifier: MPL-2.0 #define _POSIX_C_SOURCE 200809L -#define _XOPEN_SOURCE // strptime +#define _XOPEN_SOURCE 700 // strptime is in XSI #include "../lib/iso_parse.h" /* iso_parse */