Only include 'sys/user.h' for Linux. Fixes a compilation error on

FreeBSD 5.0.
This commit is contained in:
Francois Gouget 2001-11-20 18:52:42 +00:00 committed by Alexandre Julliard
parent ea31cf0a57
commit 5c84fff413
2 changed files with 3 additions and 6 deletions

View File

@ -20,9 +20,6 @@
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
#ifdef HAVE_SYS_USER_H
# include <sys/user.h>
#endif
#include "winbase.h"
#include "thread.h"
@ -58,6 +55,9 @@
#endif
#ifdef linux
#ifdef HAVE_SYS_USER_H
# include <sys/user.h>
#endif
/* user_regs definitions from asm/user.h */
struct kernel_user_regs_struct

View File

@ -18,9 +18,6 @@
#ifdef HAVE_SYS_PTRACE_H
# include <sys/ptrace.h>
#endif
#ifdef HAVE_SYS_USER_H
# include <sys/user.h>
#endif
#include "winbase.h"