Commit d3cc1072 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

server: Include either sys/user.h or asm/user.h.

This avoids redefinitions with old Linux kernel headers.
parent 52c9b9f2
......@@ -533,8 +533,7 @@ void get_selector_entry( struct thread *thread, int entry, unsigned int *base,
#ifdef HAVE_SYS_USER_H
#include <sys/user.h>
#endif
#ifdef HAVE_ASM_USER_H
#elif defined(HAVE_ASM_USER_H)
#include <asm/user.h>
#endif
......
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