diff --git a/server/context_i386.c b/server/context_i386.c index 87d1da1c7c6..874d1dd4151 100644 --- a/server/context_i386.c +++ b/server/context_i386.c @@ -20,9 +20,6 @@ #ifdef HAVE_SYS_PARAM_H # include #endif -#ifdef HAVE_SYS_USER_H -# include -#endif #include "winbase.h" #include "thread.h" @@ -58,6 +55,9 @@ #endif #ifdef linux +#ifdef HAVE_SYS_USER_H +# include +#endif /* user_regs definitions from asm/user.h */ struct kernel_user_regs_struct diff --git a/server/context_sparc.c b/server/context_sparc.c index 0e12e7296f7..d8d6b79787c 100644 --- a/server/context_sparc.c +++ b/server/context_sparc.c @@ -18,9 +18,6 @@ #ifdef HAVE_SYS_PTRACE_H # include #endif -#ifdef HAVE_SYS_USER_H -# include -#endif #include "winbase.h"