From 3f098aed4500da38db8afdff111f02198158203a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Aug 1998 14:37:17 +0000 Subject: FreeBSD stack compiles for the first time (except libc/strsep.c). --- cpukit/libnetworking/machine/types.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 cpukit/libnetworking/machine/types.h (limited to 'cpukit/libnetworking/machine/types.h') diff --git a/cpukit/libnetworking/machine/types.h b/cpukit/libnetworking/machine/types.h new file mode 100644 index 0000000000..1f9ee143a5 --- /dev/null +++ b/cpukit/libnetworking/machine/types.h @@ -0,0 +1,32 @@ +/* + * This file will have to be incorparated into the RTEMS source + * tree (probably in the existing so that these + * contents are included when an application source file includes + * . + */ + +#ifndef _MACHINE_TYPES_H_ +#define _MACHINE_TYPES_H_ + +#include +#include + +typedef rtems_signed64 int64_t; +typedef rtems_signed32 int32_t; +typedef rtems_signed16 int16_t; +typedef rtems_signed8 int8_t; + +typedef rtems_unsigned64 u_int64_t; +typedef rtems_unsigned32 u_int32_t; +typedef rtems_unsigned16 u_int16_t; +typedef rtems_unsigned8 u_int8_t; + +#define _CLOCK_T_ unsigned long +#define _TIME_T_ long + +#ifdef _COMPILING_BSD_KERNEL_ +#include +#include +#endif + +#endif /* _MACHINE_TYPES_H_ */ -- cgit v1.2.3