source: rtems/c/src/lib/libnetworking/machine/types.h @ 3f098aed

4.104.114.84.95
Last change on this file since 3f098aed was 3f098aed, checked in by Joel Sherrill <joel.sherrill@…>, on 08/20/98 at 14:37:17

FreeBSD stack compiles for the first time (except libc/strsep.c).

  • Property mode set to 100644
File size: 795 bytes
Line 
1/*
2 * This file will have to be incorparated into the RTEMS source
3 * tree (probably in the existing <machine/types.h> so that these
4 * contents are included when an application source file includes
5 * <sys/types.h>.
6 */
7
8#ifndef _MACHINE_TYPES_H_
9#define _MACHINE_TYPES_H_
10
11#include <rtems.h>
12#include <machine/endian.h>
13
14typedef rtems_signed64          int64_t;
15typedef rtems_signed32          int32_t;
16typedef rtems_signed16          int16_t;
17typedef rtems_signed8           int8_t;
18
19typedef rtems_unsigned64        u_int64_t;
20typedef rtems_unsigned32        u_int32_t;
21typedef rtems_unsigned16        u_int16_t;
22typedef rtems_unsigned8         u_int8_t;
23
24#define _CLOCK_T_       unsigned long
25#define _TIME_T_        long
26
27#ifdef _COMPILING_BSD_KERNEL_
28#include <rtems/rtems_bsdnet_internal.h>
29#include <rtems/rtems_bsdnet.h>
30#endif
31
32#endif /* _MACHINE_TYPES_H_ */
Note: See TracBrowser for help on using the repository browser.