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:
Joel Sherrill
1997-01-28 23:35:01 +00:00
parent 68d887326e
commit f7e46cf019
2 changed files with 4 additions and 6 deletions

View File

@@ -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>