Include <sys/uio.h> and <elf.h> on all architectures
* syscall.c: Include <sys/uio.h> and <elf.h> on all architectures.
This commit is contained in:
parent
27e3ae973a
commit
32c049a9d8
18
syscall.c
18
syscall.c
@ -65,25 +65,15 @@
|
||||
# include <asm/rse.h>
|
||||
#endif
|
||||
|
||||
#if defined(X86_64) || defined(X32)
|
||||
# include <sys/uio.h>
|
||||
/* for struct iovec */
|
||||
#include <sys/uio.h>
|
||||
/* for NT_PRSTATUS */
|
||||
#ifdef HAVE_ELF_H
|
||||
# include <elf.h>
|
||||
#endif
|
||||
|
||||
#if defined(AARCH64)
|
||||
# include <asm/ptrace.h>
|
||||
# include <sys/uio.h>
|
||||
# include <elf.h>
|
||||
#endif
|
||||
|
||||
#if defined(OR1K)
|
||||
# include <sys/uio.h>
|
||||
# include <elf.h>
|
||||
#endif
|
||||
|
||||
#if defined(METAG)
|
||||
# include <sys/uio.h>
|
||||
# include <elf.h>
|
||||
#endif
|
||||
|
||||
#ifndef ERESTARTSYS
|
||||
|
Loading…
x
Reference in New Issue
Block a user