xC: fix an OpenBSD build warning

sys/cdefs.h makes _XOPEN_SOURCE cause _POSIX_C_SOURCE to be overriden.
This commit is contained in:
Přemysl Eric Janouch 2023-07-04 06:29:18 +02:00
parent 8d9ce92758
commit abcff46dc4
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

2
xC.c
View File

@ -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"