commit: ca1015244c433be3bb0c857a092f8dd747e862d1
parent c111cb38e18c012e92a1d8e794799167d74a8fd4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 26 Dec 2024 08:02:49 +0100
cmd/whoami: define _POSIX_C_SOURCE
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/cmd/whoami.c b/cmd/whoami.c
@@ -2,6 +2,8 @@
// SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
// SPDX-License-Identifier: MPL-2.0
+#define _POSIX_C_SOURCE 200809L
+
#include "../lib/err.h"
#include <errno.h>