forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user