summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/libcsupport/src/__gettod.c4
-rw-r--r--c/src/lib/libc/__gettod.c4
-rw-r--r--cpukit/libcsupport/src/__gettod.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/c/src/exec/libcsupport/src/__gettod.c b/c/src/exec/libcsupport/src/__gettod.c
index 218c49bb76..e937ce1ca6 100644
--- a/c/src/exec/libcsupport/src/__gettod.c
+++ b/c/src/exec/libcsupport/src/__gettod.c
@@ -1,3 +1,5 @@
+#include <rtems.h>
+
#if !defined(RTEMS_UNIX)
/*
* RTEMS gettimeofday Implementation
@@ -14,8 +16,6 @@
* $Id$
*/
-#include <rtems.h>
-
#ifdef RTEMS_NEWLIB
#include <sys/reent.h>
#endif
diff --git a/c/src/lib/libc/__gettod.c b/c/src/lib/libc/__gettod.c
index 218c49bb76..e937ce1ca6 100644
--- a/c/src/lib/libc/__gettod.c
+++ b/c/src/lib/libc/__gettod.c
@@ -1,3 +1,5 @@
+#include <rtems.h>
+
#if !defined(RTEMS_UNIX)
/*
* RTEMS gettimeofday Implementation
@@ -14,8 +16,6 @@
* $Id$
*/
-#include <rtems.h>
-
#ifdef RTEMS_NEWLIB
#include <sys/reent.h>
#endif
diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c
index 218c49bb76..e937ce1ca6 100644
--- a/cpukit/libcsupport/src/__gettod.c
+++ b/cpukit/libcsupport/src/__gettod.c
@@ -1,3 +1,5 @@
+#include <rtems.h>
+
#if !defined(RTEMS_UNIX)
/*
* RTEMS gettimeofday Implementation
@@ -14,8 +16,6 @@
* $Id$
*/
-#include <rtems.h>
-
#ifdef RTEMS_NEWLIB
#include <sys/reent.h>
#endif