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.
This commit is contained in:
Joel Sherrill
1998-03-27 16:34:25 +00:00
parent f331481c9d
commit 3973e40a54
3 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
#include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)
/* /*
* RTEMS gettimeofday Implementation * RTEMS gettimeofday Implementation
@@ -14,8 +16,6 @@
* $Id$ * $Id$
*/ */
#include <rtems.h>
#ifdef RTEMS_NEWLIB #ifdef RTEMS_NEWLIB
#include <sys/reent.h> #include <sys/reent.h>
#endif #endif

View File

@@ -1,3 +1,5 @@
#include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)
/* /*
* RTEMS gettimeofday Implementation * RTEMS gettimeofday Implementation
@@ -14,8 +16,6 @@
* $Id$ * $Id$
*/ */
#include <rtems.h>
#ifdef RTEMS_NEWLIB #ifdef RTEMS_NEWLIB
#include <sys/reent.h> #include <sys/reent.h>
#endif #endif

View File

@@ -1,3 +1,5 @@
#include <rtems.h>
#if !defined(RTEMS_UNIX) #if !defined(RTEMS_UNIX)
/* /*
* RTEMS gettimeofday Implementation * RTEMS gettimeofday Implementation
@@ -14,8 +16,6 @@
* $Id$ * $Id$
*/ */
#include <rtems.h>
#ifdef RTEMS_NEWLIB #ifdef RTEMS_NEWLIB
#include <sys/reent.h> #include <sys/reent.h>
#endif #endif