Commit 5c84fff4 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

FreeBSD 5.0.
parent ea31cf0a
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment