Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(977)

Unified Diff: sysdeps/nacl/irt_syscalls.h

Issue 7785030: Replace #define syscalls cancel machinery. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Cosmetic change Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/nacl/futex_emulation.c ('k') | sysdeps/nacl/read.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/nacl/irt_syscalls.h
diff --git a/sysdeps/nacl/irt_syscalls.h b/sysdeps/nacl/irt_syscalls.h
index 4e99c504cafa0b393fb92fae9a02d099ef2495e6..55b9d4faba8ff8a7adbbe22aace04f5eec4cb025 100644
--- a/sysdeps/nacl/irt_syscalls.h
+++ b/sysdeps/nacl/irt_syscalls.h
@@ -75,3 +75,49 @@ 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
+
+#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 <linux/getcpu.h>
+#include <linux/posix_types.h>
+#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
« no previous file with comments | « sysdeps/nacl/futex_emulation.c ('k') | sysdeps/nacl/read.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698