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

Unified Diff: sysdeps/nacl/irt_syscalls.h

Issue 7737022: Change make-syscalls.sh to make syscall interception possible. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: base => name Created 9 years, 3 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/dl-sysdep.c ('k') | sysdeps/nacl/opendir.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 79a13f7a630c36c076b66ec47f2fb6982eb82419..bb6c71c332d9018ee141eba7d6d0d36bc529994c 100644
--- a/sysdeps/nacl/irt_syscalls.h
+++ b/sysdeps/nacl/irt_syscalls.h
@@ -93,23 +93,36 @@ void init_irt_table (void) attribute_hidden;
#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>
+#if !defined (_LIBC) || defined(IS_IN_librt)
+#include <mqueue.h>
+#endif
+#include <pthread.h>
#include <sched.h>
#include <signal.h>
#include <streams/stropts.h>
#include <sys/epoll.h>
+#include <sys/poll.h>
#include <sys/ptrace.h>
#include <sys/times.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <utime.h>
+#include <sys/msg.h>
+#include <sys/sem.h>
+#include <sys/shm.h>
+#include <sys/sysinfo.h>
+#include <sys/time.h>
+#include <sys/timex.h>
+#include <sys/types.h>
+#include <sys/utsname.h>
+#ifdef __i386__
+#include <sys/vm86.h>
+#endif
+#include <unistd.h>
#ifdef _LIBC
struct robust_list_head;
« no previous file with comments | « sysdeps/nacl/dl-sysdep.c ('k') | sysdeps/nacl/opendir.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698