diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-27 16:34:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-27 16:34:25 +0000 |
commit | 3973e40a54b01fd9f1e4c687c34aa7830a4c2350 (patch) | |
tree | 8fd63de647baf088d8643f3b2d1b8b3863c64aab /c/src/exec/libcsupport/src/__gettod.c | |
parent | Conditionally adding RTEMS_ and rtems_ prefixes. (diff) | |
download | rtems-3973e40a54b01fd9f1e4c687c34aa7830a4c2350.tar.bz2 |
Should have included <rtems.h> before checking for ifdef RTEMS_UNIX.
Bug report from Olivier Hainque <hainque@inf.enst.fr> on SPARC Solaris 2.6.
Diffstat (limited to 'c/src/exec/libcsupport/src/__gettod.c')
-rw-r--r-- | c/src/exec/libcsupport/src/__gettod.c | 4 |
1 files changed, 2 insertions, 2 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 |