mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Use our own unistd.h, because the system one might be missing some of the
constants. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2970
This commit is contained in:
parent
b54443644a
commit
c8d91069ed
@ -1,13 +1,19 @@
|
||||
// XXX: x86-specific, so these should be in x86/, or something
|
||||
#include "../../coregrind/x86-linux/vki_unistd.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
// Since we use vki_unistd.h, we can't include <unistd.h>. So we have to
|
||||
// declare this ourselves.
|
||||
extern long int syscall (long int __sysno, ...) __THROW;
|
||||
|
||||
// Thorough syscall scalar arg checking. Also serves as thorough checking
|
||||
// for (very) basic syscall use. Generally not trying to do anything
|
||||
// meaningful with the syscalls.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user