Limit the number of files where <asm/unistd.h> is included
to only those few that need it.
* defs.h: Do not include <asm/unistd.h>.
* clone.c: Include <asm/unistd.h>.
* strace.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.
*/
#include "defs.h"
-
#include <sched.h>
+#include <asm/unistd.h>
#ifndef CSIGNAL
# define CSIGNAL 0x000000ff
#include <errno.h>
#include <time.h>
#include <sys/time.h>
-#include <asm/unistd.h>
#include "kernel_types.h"
#include "mpers_type.h"
#ifdef HAVE_PRCTL
# include <sys/prctl.h>
#endif
+#include <asm/unistd.h>
#include "ptrace.h"
#include "printsiginfo.h"
/* for struct iovec */
#include <sys/uio.h>
+/* for __X32_SYSCALL_BIT */
+#include <asm/unistd.h>
+
#include "regs.h"
#include "ptrace.h"
# include <sys/xattr.h>
#endif
#include <sys/uio.h>
+#include <asm/unistd.h>
#include "regs.h"
#include "ptrace.h"