universally through core.h.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3699
external tools.
*/
-/* For system call numbers __NR_... */
-#include "vki_unistd.h"
-
#include "core_asm.h" // asm stuff
#include "tool.h" // tool stuff
#include "core_arch.h" // arch-specific stuff, eg. x86/core_arch.h
#include "pub_core_aspacemgr.h"
#include "pub_core_syscalls.h"
#include "pub_core_tooliface.h"
+#include "vki_unistd.h"
/* Define to debug the memory-leak-detector. */
# error Unknown platform
#endif
+#include "vki_unistd.h"
+
// Offsets for the shadow state
#define O_SYSCALL_NUM (offsetof(VexGuestArchState, VGP_SYSCALL_NUM))
#define O_SYSCALL_ARG1 (offsetof(VexGuestArchState, VGP_SYSCALL_ARG1))
#include "pub_core_stacktrace.h"
#include "pub_core_syscalls.h"
#include "pub_core_tooliface.h"
+#include "vki_unistd.h"
/* ---------------------------------------------------------------------
#include "pub_core_stacktrace.h"
#include "pub_core_syscalls.h"
#include "pub_core_tooliface.h"
+#include "vki_unistd.h"
/* ---------------------------------------------------------------------
Types and globals for the scheduler.
#include "core.h"
#include "pub_core_tooliface.h"
#include "x86_private.h"
+#include "vki_unistd.h"
#include <sys/ptrace.h>
#include "libvex_guest_x86.h"