xC: fix an OpenBSD build warning

sys/cdefs.h makes _XOPEN_SOURCE cause _POSIX_C_SOURCE to be overriden.
This commit is contained in:
2023-07-04 06:29:18 +02:00
parent 8d9ce92758
commit abcff46dc4

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"