forked from Imagelibrary/rtems
With the transition from command line macro definitions to targopts.h,
it was necessary to include system.h before checking if anything was defined.
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#ifdef RTEMS_POSIX_API
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
@@ -25,7 +23,8 @@
|
||||
|
||||
#define POSIX_API_INIT
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/system.h> /* include this before checking RTEMS_POSIX_API */
|
||||
#ifdef RTEMS_POSIX_API
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <rtems/config.h>
|
||||
|
||||
Reference in New Issue
Block a user