summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/include/rtems/libio_.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/include/rtems/libio_.h')
-rw-r--r--c/src/exec/libcsupport/include/rtems/libio_.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/libio_.h b/c/src/exec/libcsupport/include/rtems/libio_.h
index e14f63c287..029bb437dd 100644
--- a/c/src/exec/libcsupport/include/rtems/libio_.h
+++ b/c/src/exec/libcsupport/include/rtems/libio_.h
@@ -20,8 +20,8 @@ extern "C" {
#endif
#include <rtems.h>
+#include <rtems/libio.h> /* include before standard IO */
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
-#include <rtems/libio.h>
#include <stdio.h> /* O_RDONLY, et.al. */
#include <fcntl.h> /* O_RDONLY, et.al. */
@@ -46,9 +46,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h> /* calloc() */
-#include "libio.h" /* libio.h not pulled in by rtems */
-
-
/*
* Semaphore to protect the io table
*/