process.c: include less headers
* process.c: Do not include <fcntl.h> and <sys/stat.h>. Reorder inclusion of xlat header files.
This commit is contained in:
parent
8c0ef9468c
commit
6eee4e044c
14
process.c
14
process.c
@ -35,13 +35,14 @@
|
||||
*/
|
||||
|
||||
#include "defs.h"
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/user.h>
|
||||
|
||||
#ifdef HAVE_ELF_H
|
||||
# include <elf.h>
|
||||
#endif
|
||||
|
||||
#include "xlat/nt_descriptor_types.h"
|
||||
|
||||
#include <sys/user.h>
|
||||
#ifdef HAVE_SYS_REG_H
|
||||
# include <sys/reg.h>
|
||||
#endif
|
||||
@ -71,15 +72,14 @@
|
||||
# define PTRACE_SETREGS PTRACE_SETREGS64
|
||||
#endif
|
||||
|
||||
#include "xlat/ptrace_cmds.h"
|
||||
#include "xlat/ptrace_setoptions_flags.h"
|
||||
|
||||
#if defined(IA64)
|
||||
# include <asm/ptrace_offsets.h>
|
||||
# include <asm/rse.h>
|
||||
#endif
|
||||
|
||||
#include "xlat/ptrace_cmds.h"
|
||||
#include "xlat/ptrace_setoptions_flags.h"
|
||||
#include "xlat/nt_descriptor_types.h"
|
||||
|
||||
#define uoff(member) offsetof(struct user, member)
|
||||
#define XLAT_UOFF(member) { uoff(member), "offsetof(struct user, " #member ")" }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user