diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 14:37:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 14:37:17 +0000 |
commit | 3f098aed4500da38db8afdff111f02198158203a (patch) | |
tree | 370225501caf56821883daa3971214b3d82e28bb /cpukit/libnetworking/machine/types.h | |
parent | Base files (diff) | |
download | rtems-3f098aed4500da38db8afdff111f02198158203a.tar.bz2 |
FreeBSD stack compiles for the first time (except libc/strsep.c).
Diffstat (limited to 'cpukit/libnetworking/machine/types.h')
-rw-r--r-- | cpukit/libnetworking/machine/types.h | 32 |
1 files changed, 32 insertions, 0 deletions
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 <machine/types.h> so that these + * contents are included when an application source file includes + * <sys/types.h>. + */ + +#ifndef _MACHINE_TYPES_H_ +#define _MACHINE_TYPES_H_ + +#include <rtems.h> +#include <machine/endian.h> + +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 <rtems/rtems_bsdnet_internal.h> +#include <rtems/rtems_bsdnet.h> +#endif + +#endif /* _MACHINE_TYPES_H_ */ |