mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:11:20 +08:00
Directly use <sys/_types.h> provided by Newlib
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
/* External definitions for functions in inet(3). */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <rtems/bsd/sys/_types.h>
|
||||
#include <sys/_types.h>
|
||||
|
||||
/* Required for byteorder(3) functions. */
|
||||
#include <machine/endian.h>
|
||||
|
@@ -41,7 +41,7 @@
|
||||
* __va_list from <sys/_types.h> and use it.
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
#include <rtems/bsd/sys/_types.h>
|
||||
#include <sys/_types.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
void err(int, const char *, ...) __dead2 __printf0like(2, 3);
|
||||
|
@@ -58,7 +58,7 @@
|
||||
#define _NETDB_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <rtems/bsd/sys/_types.h>
|
||||
#include <sys/_types.h>
|
||||
|
||||
#ifndef _SIZE_T_DECLARED
|
||||
typedef __size_t size_t;
|
||||
|
Reference in New Issue
Block a user