xref: /utopia/UTPA2-700.0.x/projects/tools/lint/aeon_include/machine/types.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1 #ifndef	_MACHTYPES_H_
2 #define	_MACHTYPES_H_
3 
4 /*
5  *  The following section is RTEMS specific and is needed to more
6  *  closely match the types defined in the BSD machine/types.h.
7  *  This is needed to let the RTEMS/BSD TCP/IP stack compile.
8  */
9 #if defined(__rtems__)
10 #include <machine/_types.h>
11 #endif
12 
13 #define	_CLOCK_T_	unsigned long		/* clock() */
14 #define	_TIME_T_	long			/* time() */
15 #define _CLOCKID_T_ 	unsigned long
16 #define _TIMER_T_   	unsigned long
17 
18 #ifndef _HAVE_SYSTYPES
19 typedef long int __off_t;
20 typedef int __pid_t;
21 #ifdef __GNUC__
22 __extension__ typedef long long int __loff_t;
23 #else
24 typedef long int __loff_t;
25 #endif
26 #endif
27 
28 #endif	/* _MACHTYPES_H_ */
29 
30 
31