1#ifndef _NOLIBC_H_
2#define _NOLIBC_H_
3
4#include <bmk-core/types.h>
5#include <bmk-core/sched.h>
6
7/* fake some POSIX types used in the compat system calls */
8#define RUMP_HOST_NOT_POSIX
9
10typedef int		clockid_t;
11typedef unsigned int	socklen_t;
12typedef int		timer_t;
13
14typedef int		pid_t;
15typedef long		ssize_t;
16typedef unsigned long	size_t;
17typedef long		register_t;
18
19typedef int64_t		off_t;
20typedef uint64_t	dev_t;
21typedef uint32_t	mode_t;
22typedef int		gid_t;
23typedef int		uid_t;
24
25typedef unsigned int	u_int;
26typedef unsigned long	u_long;
27
28struct timespec;
29struct itimerspec;
30struct sigevent;
31struct sockaddr;
32
33typedef void fd_set;
34typedef void sigset_t;
35
36#endif /* _NOLIBC_H_ */
37