diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rpc/xdr.h | 2 | ||||
| -rw-r--r-- | include/stdio.h | 6 | ||||
| -rw-r--r-- | include/xlocale.h | 2 |
3 files changed, 5 insertions, 5 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 diff --git a/include/stdio.h b/include/stdio.h index ea016d65095d..50e3ff2d1c34 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -32,8 +32,8 @@ * SUCH DAMAGE. */ -#ifndef _STDIO_H_ -#define _STDIO_H_ +#ifndef __STDC_VERSION_STDIO_H__ +#define __STDC_VERSION_STDIO_H__ 202311L #include <sys/cdefs.h> #include <sys/_null.h> @@ -540,4 +540,4 @@ extern int __isthreaded; __END_DECLS __NULLABILITY_PRAGMA_POP -#endif /* !_STDIO_H_ */ +#endif /* !__STDC_VERSION_STDIO_H__ */ diff --git a/include/xlocale.h b/include/xlocale.h index cc2fc0839593..b1c83592a619 100644 --- a/include/xlocale.h +++ b/include/xlocale.h @@ -68,7 +68,7 @@ __BEGIN_DECLS #include <xlocale/_ctype.h> #endif -#ifdef _STDIO_H_ +#ifdef __STDC_VERSION_STDIO_H__ #include <xlocale/_stdio.h> #endif |
