Commit 37863a0e authored by jdelange's avatar jdelange
Browse files

* po-hi-c/src/po_hi_main.c

   - Fix compilation issues with RTEMS POSIX and RTEMS PURE


git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@3606 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent e9604e46
......@@ -29,6 +29,12 @@ pthread_cond_t cond_init;
pthread_mutex_t mutex_init;
#endif
#if defined (RTEMS_POSIX) || defined (RTEMS_PURE)
#include <rtems.h>
#include <bsp.h>
#include <rtems/rtems/clock.h>
#endif
#ifdef RTEMS_PURE
rtems_id __po_hi_main_initialization_barrier;
#endif
......@@ -154,7 +160,6 @@ int __po_hi_initialize_early ()
#if defined (RTEMS_POSIX) || defined (RTEMS_PURE)
#include <rtems/rtems/clock.h>
rtems_status_code ret;
rtems_time_of_day time;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment