blob: 625de3cdf08dd807aea15679f6ddd76b21727298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* libc/sys/linux/sys/types.h - The usual type zoo */
/* Written 2000 by Werner Almesberger */
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H
/* Newlib has it's own time_t and clock_t definitions in
* libc/include/sys/types.h. Repeat those here and
* skip the kernel's definitions. */
#include <machine/types.h>
#ifndef __time_t_defined
#define _TIME_T
#define __time_t_defined
typedef _TIME_T_ time_t;
#endif
#ifndef __clock_t_defined
#define _CLOCK_T
#define __clock_t_defined
typedef _CLOCK_T_ clock_t;
#endif
#include <linux/types.h>
#endif
|