server: Include either sys/user.h or asm/user.h.
This avoids redefinitions with old Linux kernel headers.
This commit is contained in:
parent
52c9b9f2b3
commit
d3cc10724e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue