summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libio.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index 617cc41ec8..4b5e000bea 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -34,6 +34,10 @@
#include <rtems/fs.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Valid RTEMS file types.
*/
@@ -634,4 +638,8 @@ typedef struct {
extern rtems_filesystem_mount_table_t *rtems_filesystem_mount_table;
extern int rtems_filesystem_mount_table_size;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RTEMS_LIBIO_H */