diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-03-18 00:59:27 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-03-18 11:59:37 +0000 |
commit | 32c049a9d8f6f50fa475929a9638e4cf6619e96e (patch) | |
tree | 4b633f40002d3656075e8f759d2b7261de4b89c1 /syscall.c | |
parent | 27e3ae973af5c70b469a1febe88f1c383fdd323e (diff) | |
download | strace-32c049a9d8f6f50fa475929a9638e4cf6619e96e.tar.gz strace-32c049a9d8f6f50fa475929a9638e4cf6619e96e.tar.bz2 strace-32c049a9d8f6f50fa475929a9638e4cf6619e96e.tar.xz |
Include <sys/uio.h> and <elf.h> on all architectures
* syscall.c: Include <sys/uio.h> and <elf.h> on all architectures.
Diffstat (limited to 'syscall.c')
-rw-r--r-- | syscall.c | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -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 |