diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-28 23:35:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-28 23:35:01 +0000 |
commit | f7e46cf019cf14b926e546dc0281c74744ab78a9 (patch) | |
tree | 718e6e52fd2036e3cffeafcee7e06c8f0e0af6cf /c/src/exec/sapi/src/posixapi.c | |
parent | removed include of unnecessary include file. (diff) | |
download | rtems-f7e46cf019cf14b926e546dc0281c74744ab78a9.tar.bz2 |
With the transition from command line macro definitions to targopts.h,
it was necessary to include system.h before checking if anything was
defined.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/sapi/src/posixapi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/c/src/exec/sapi/src/posixapi.c b/c/src/exec/sapi/src/posixapi.c index b3612326a5..d6be0bc888 100644 --- a/c/src/exec/sapi/src/posixapi.c +++ b/c/src/exec/sapi/src/posixapi.c @@ -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> |