Chromium Code Reviews| Index: sysdeps/nacl/irt_syscalls.h |
| diff --git a/sysdeps/nacl/irt_syscalls.h b/sysdeps/nacl/irt_syscalls.h |
| index 4e99c504cafa0b393fb92fae9a02d099ef2495e6..7c64683b629fc68d5685b1c6733a1ae8a5b4bc80 100644 |
| --- a/sysdeps/nacl/irt_syscalls.h |
| +++ b/sysdeps/nacl/irt_syscalls.h |
| @@ -75,3 +75,48 @@ extern void *(*__nacl_irt_tls_get) (void); |
| extern int (*__nacl_irt_open_resource) (const char* file, int *fd); |
| #endif |
| + |
| +#if defined(_LIBC) || defined (__need_emulated_syscalls) |
| +#ifndef _IRT_EMULATED_SYSCALLS_H |
| +#define _IRT_EMULATED_SYSCALLS_H 1 |
| + |
| +#include <linux/getcpu.h> |
| +#include <linux/posix_types.h> |
|
pasko-google - do not use
2011/09/02 16:25:24
minor: plz, group linear part of includes together
khim
2011/09/02 16:36:09
Done.
|
| +#ifndef _LINUX_TYPES_H |
| +#define ustat __kernel_ustat |
| +#include <linux/sysctl.h> |
| +#undef ustat |
| +#ifdef _LIBC |
| +#include <misc/sys/ustat.h> |
| +#else |
| +#include <sys/ustat.h> |
| +#endif |
| +#endif |
| +#ifndef _LIBC |
| +#include <mqueue.h> |
| +#endif |
| +#include <sys/poll.h> |
| +#include <sched.h> |
| +#include <signal.h> |
| +#include <streams/stropts.h> |
| +#include <sys/epoll.h> |
| +#include <sys/ptrace.h> |
| +#include <sys/times.h> |
| +#include <sys/types.h> |
| +#include <sys/wait.h> |
| +#include <time.h> |
| +#include <utime.h> |
| + |
| +#ifdef _LIBC |
| +struct robust_list_head; |
| +#else |
| +struct robust_list_head |
| +{ |
| + void *list; |
| + long int futex_offset; |
| + void *list_op_pending; |
| +}; |
| +#endif |
| + |
| +#endif |
| +#endif |