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)
|
#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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user