summaryrefslogtreecommitdiff
path: root/xC.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-04 06:29:18 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-04 06:31:02 +0200
commitabcff46dc49168125b51a63d10db3eb284d9bcc0 (patch)
tree748eefcd59631970e556e558de029e0ac6807ded /xC.c
parent8d9ce92758c3e372ec20dfdbde41987c71542c40 (diff)
downloadxK-abcff46dc49168125b51a63d10db3eb284d9bcc0.tar.gz
xK-abcff46dc49168125b51a63d10db3eb284d9bcc0.tar.xz
xK-abcff46dc49168125b51a63d10db3eb284d9bcc0.zip
xC: fix an OpenBSD build warning
sys/cdefs.h makes _XOPEN_SOURCE cause _POSIX_C_SOURCE to be overriden.
Diffstat (limited to 'xC.c')
-rw-r--r--xC.c2
1 files changed, 1 insertions, 1 deletions
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"