Changeset f7e46cf0 in rtems


Ignore:
Timestamp:
Jan 28, 1997, 11:35:01 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7446899
Parents:
68d8873
Message:

With the transition from command line macro definitions to targopts.h,
it was necessary to include system.h before checking if anything was
defined.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/src/posixapi.c

    r68d8873 rf7e46cf0  
    1515 */
    1616
    17 #ifdef RTEMS_POSIX_API
    18 
    1917#include <assert.h>
    2018
     
    2624#define POSIX_API_INIT
    2725
    28 #include <rtems/system.h>
     26#include <rtems/system.h>    /* include this before checking RTEMS_POSIX_API */
     27#ifdef RTEMS_POSIX_API
    2928
    3029#include <sys/types.h>
  • cpukit/sapi/src/posixapi.c

    r68d8873 rf7e46cf0  
    1515 */
    1616
    17 #ifdef RTEMS_POSIX_API
    18 
    1917#include <assert.h>
    2018
     
    2624#define POSIX_API_INIT
    2725
    28 #include <rtems/system.h>
     26#include <rtems/system.h>    /* include this before checking RTEMS_POSIX_API */
     27#ifdef RTEMS_POSIX_API
    2928
    3029#include <sys/types.h>
Note: See TracChangeset for help on using the changeset viewer.