From abcff46dc49168125b51a63d10db3eb284d9bcc0 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 4 Jul 2023 06:29:18 +0200 Subject: xC: fix an OpenBSD build warning sys/cdefs.h makes _XOPEN_SOURCE cause _POSIX_C_SOURCE to be overriden. --- xC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xC.c b/xC.c index b4b4784..20845a1 100644 --- a/xC.c +++ b/xC.c @@ -49,7 +49,7 @@ enum #define PROGRAM_NAME "xC" // fmemopen -#define _POSIX_C_SOURCE 200809L +#define _XOPEN_SOURCE 700 #include "common.c" #include "xD-replies.c" -- cgit v1.2.3-70-g09d2