Only include 'sys/user.h' for Linux. Fixes a compilation error on
FreeBSD 5.0.
This commit is contained in:
parent
ea31cf0a57
commit
5c84fff413
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue