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

This commit is contained in:
Sebastian Huber
2016-04-27 10:25:22 +02:00
parent 2017a6df2b
commit 3d1e767c8f
241 changed files with 245 additions and 603 deletions

View File

@@ -57,7 +57,7 @@
#ifndef _NAMESER_H_
#define _NAMESER_H_
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
/*
* Define constants based on rfc883

View File

@@ -30,7 +30,7 @@
#ifdef HAVE_OS_PROTO_H
#include "os-proto.h"
#endif
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#ifndef HAVE___ATTRIBUTE__
#define __attribute__(x)

View File

@@ -33,7 +33,7 @@ static const char rcsid[] _U_ =
#ifndef HAVE_NET_PFVAR_H
#error "No pf headers available"
#endif
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/pfvar.h>

View File

@@ -52,7 +52,7 @@
#include <time.h>
#include <io.h>
#include <fcntl.h>
#include <rtems/bsd/sys/types.h>
#include <sys/types.h>
#include <net/netdb.h> /* in wpcap's Win32/include */
#ifndef NBBY
@@ -118,7 +118,7 @@ typedef char* caddr_t;
#include <sys/bitypes.h>
#endif
#include <rtems/bsd/sys/param.h>
#include <rtems/bsd/sys/types.h> /* concession to AIX */
#include <sys/types.h> /* concession to AIX */
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>