[hurd] Fix i686 build breakage caused by 4fedebc911

Message-Id: <Y+8bqZzYTl7WaUm7@jupiter.tail36e24.ts.net>
This commit is contained in:
Flavio Cruz 2023-02-17 01:16:09 -05:00 committed by Samuel Thibault
parent 64924422a9
commit 26c1769509
3 changed files with 4 additions and 4 deletions

View File

@ -19,8 +19,8 @@
#include <errno.h> #include <errno.h>
#include <mach.h> #include <mach.h>
#include <mach/i386/thread_status.h> #include <mach/machine/thread_status.h>
#include <mach/i386/mach_i386.h> #include <mach/machine/mach_i386.h>
#include <mach/mig_errors.h> #include <mach/mig_errors.h>
#include <mach/thread_status.h> #include <mach/thread_status.h>

View File

@ -101,7 +101,7 @@ extern unsigned short __init1_desc;
/* Use i386-specific RPCs to arrange that %gs segment register prefix /* Use i386-specific RPCs to arrange that %gs segment register prefix
addresses the TCB in each thread. */ addresses the TCB in each thread. */
# include <mach/i386/mach_i386.h> # include <mach/machine/mach_i386.h>
# ifndef HAVE_I386_SET_GDT # ifndef HAVE_I386_SET_GDT
# define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID) # define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID)

View File

@ -18,7 +18,7 @@
#include <sys/io.h> #include <sys/io.h>
#include <hurd.h> #include <hurd.h>
#include <mach/i386/mach_i386.h> #include <mach/machine/mach_i386.h>
int int
ioperm (unsigned long int from, unsigned long int num, int turn_on) ioperm (unsigned long int from, unsigned long int num, int turn_on)