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

This avoids redefinitions with old Linux kernel headers.
This commit is contained in:
Francois Gouget 2013-10-06 00:22:24 +02:00 committed by Alexandre Julliard
parent 52c9b9f2b3
commit d3cc10724e
1 changed files with 1 additions and 2 deletions

View File

@ -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