Changeset 15bcf12 in rtems-libbsd


Ignore:
Timestamp:
05/18/22 07:38:12 (6 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0ad7038
Parents:
453ff00
git-author:
Sebastian Huber <sebastian.huber@…> (05/18/22 07:38:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/18/22 07:48:35)
Message:

libc: Include <sys/types.h> for RTEMS

This fixes an issue with a recent Newlib which no longer includes <sys/types.h>
in <stdio.h>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/lib/libc/include/libc_private.h

    r453ff00 r15bcf12  
    3737#ifndef _LIBC_PRIVATE_H_
    3838#define _LIBC_PRIVATE_H_
     39#ifndef __rtems__
    3940#include <sys/_types.h>
    4041#include <sys/_pthreadtypes.h>
     42#else /* __rtems__ */
     43#include <sys/types.h>
     44#endif /* __rtems__ */
    4145
    4246/*
Note: See TracChangeset for help on using the changeset viewer.