From 862bdb38800144c888d67260ed292c974e03f8a6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 9 Nov 2020 15:33:02 -0600 Subject: [PATCH] libc/include/newlib.h: Fix C++ compilation issue --- newlib/libc/include/devctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newlib/libc/include/devctl.h b/newlib/libc/include/devctl.h index 889693e1d..46305cf05 100644 --- a/newlib/libc/include/devctl.h +++ b/newlib/libc/include/devctl.h @@ -69,10 +69,10 @@ int posix_devctl( size_t nbyte, int *__restrict dev_info_ptr ); -#endif #ifdef __cplusplus } #endif -#endif +#endif /* _POSIX_26_C_SOURCE */ +#endif /*_POSIX_DEVCTL_h_ */