mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
mach: Fix accessing mach_i386.h
Fixes: 196358ae26
("mach: Fix installing mach_i386.h")
This commit is contained in:
parent
1d2971b525
commit
ec9a66cd01
4 changed files with 8 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <mach.h>
|
||||
#include <mach/machine/thread_status.h>
|
||||
#include <mach/machine/mach_i386.h>
|
||||
#include <mach/i386/mach_i386.h>
|
||||
#include <mach/mig_errors.h>
|
||||
#include <mach/thread_status.h>
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ _Static_assert (offsetof (tcbhead_t, __private_ss) == 0x30,
|
|||
|
||||
/* Use i386-specific RPCs to arrange that %gs segment register prefix
|
||||
addresses the TCB in each thread. */
|
||||
# include <mach/machine/mach_i386.h>
|
||||
# include <mach/i386/mach_i386.h>
|
||||
|
||||
# ifndef HAVE_I386_SET_GDT
|
||||
# define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID)
|
||||
|
|
|
@ -18,7 +18,11 @@
|
|||
|
||||
#include <sys/io.h>
|
||||
#include <hurd.h>
|
||||
#include <mach/machine/mach_i386.h>
|
||||
#ifdef __x86_64__
|
||||
#include <mach/x86_64/mach_i386.h>
|
||||
#else
|
||||
#include <mach/i386/mach_i386.h>
|
||||
#endif
|
||||
|
||||
int
|
||||
ioperm (unsigned long int from, unsigned long int num, int turn_on)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <mach.h>
|
||||
#include <mach/machine/thread_status.h>
|
||||
#include <mach/machine/mach_i386.h>
|
||||
#include <mach/x86_64/mach_i386.h>
|
||||
#include <mach/mig_errors.h>
|
||||
#include <mach/thread_status.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue