diff --git a/syscall.c b/syscall.c index 42aad40a..e3fcc016 100644 --- a/syscall.c +++ b/syscall.c @@ -65,25 +65,15 @@ # include #endif -#if defined(X86_64) || defined(X32) -# include +/* for struct iovec */ +#include +/* for NT_PRSTATUS */ +#ifdef HAVE_ELF_H # include #endif #if defined(AARCH64) # include -# include -# include -#endif - -#if defined(OR1K) -# include -# include -#endif - -#if defined(METAG) -# include -# include #endif #ifndef ERESTARTSYS