aboutsummaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorFaraz Vahedi <kfv@FreeBSD.org>2026-08-14 12:22:00 +0000
committerFaraz Vahedi <kfv@FreeBSD.org>2026-08-14 19:31:54 +0000
commitcd0727ec709bb54f8f82104f6113284a15dd3464 (patch)
treed0d6a2b06059261eb1f6461ed7380bc30f1af2c1 /include/rpc
parent10d5a548596ce7c111ea4a463d3f7d5f0cb1ae4f (diff)
libc: Add <stdio.h> C23 feature test macro
Define the __STDC_VERSION_STDIO_H__ feature test macro now that the header fully conforms to C23. Reviewed by: fuz Approved by: fuz (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D58842
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 4c75bcc5bbf7..1b480ca0dd34 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -332,7 +332,7 @@ __BEGIN_DECLS
extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op);
/* XDR using stdio library */
-#ifdef _STDIO_H_
+#ifdef __STDC_VERSION_STDIO_H__
extern void xdrstdio_create(XDR *, FILE *, enum xdr_op);
#endif