2004-03-01 Roland McGrath <roland@redhat.com>
* configure.ac: Check for `struct user_desc' in <asm/ldt.h>.
* process.c [HAVE_STRUCT_USER_DESC]: Use struct user_desc in place of
struct modify_ldt_ldt_s.
* mem.c [HAVE_STRUCT_USER_DESC]: Likewise.
diff --git a/process.c b/process.c
index 6d503af..ccd715e 100644
--- a/process.c
+++ b/process.c
@@ -542,6 +542,9 @@
# ifdef I386
# include <asm/ldt.h>
+# ifdef HAVE_STRUCT_USER_DESC
+# define modify_ldt_ldt_s user_desc
+# endif
extern void print_ldt_entry();
# endif