[PATCH] libc/include/newlib.h: Fix C++ compilation issue
Joel Sherrill
joel@rtems.org
Mon Nov 9 21:33:40 GMT 2020
---
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 889693e..46305cf 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_ */
--
1.8.3.1
More information about the Newlib
mailing list