Directly use <sys/_types.h> provided by Newlib

This commit is contained in:
Sebastian Huber
2016-04-27 10:26:50 +02:00
parent 3d1e767c8f
commit b6f6deb883
15 changed files with 14 additions and 252 deletions

View File

@@ -34,7 +34,7 @@
#ifndef _LIBC_PRIVATE_H_
#define _LIBC_PRIVATE_H_
#include <rtems/bsd/sys/_types.h>
#include <sys/_types.h>
#include <sys/_pthreadtypes.h>
/*
@@ -230,7 +230,7 @@ extern void (*__cleanup)(void);
* for the wrapped "new" pad-less syscalls are here for now.
*/
extern int __getosreldate(void);
#include <rtems/bsd/sys/_types.h>
#include <sys/_types.h>
/* Without pad */
extern __off_t __sys_lseek(int, __off_t, int);
extern int __sys_ftruncate(int, __off_t);

View File

@@ -34,7 +34,7 @@
#define _KVM_H_
#include <sys/cdefs.h>
#include <rtems/bsd/sys/_types.h>
#include <sys/_types.h>
#include <nlist.h>
/* Default version symbol. */

View File

@@ -40,7 +40,7 @@
#define _LIBUTIL_H_
#include <sys/cdefs.h>
#include <rtems/bsd/sys/_types.h>
#include <sys/_types.h>
#include <sys/_stdint.h>
#ifndef _GID_T_DECLARED