mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 16:20:06 +01:00
Fix alpha build failures
Don't include <asm/pci.h> in os-support/linux/lnx_axp.c, use "lnx.h" and <unistd.h> instead
This commit is contained in:
parent
dc9c519628
commit
0f91abd5c6
2 changed files with 2 additions and 3 deletions
|
|
@ -11,7 +11,6 @@ extern int iopl __P ((int __level));
|
|||
|
||||
/* new pciconfig_iobase syscall added in 2.2.15 and 2.3.99 */
|
||||
# include <linux/unistd.h>
|
||||
# include <asm/pci.h>
|
||||
extern long (*_iobase)(unsigned, int, int, int);
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -112,8 +112,8 @@ lnxGetAXP(void)
|
|||
/*
|
||||
* pciconfig_iobase wrappers and dynamic i/o selection
|
||||
*/
|
||||
#include <linux/unistd.h>
|
||||
#include <asm/pci.h>
|
||||
#include "lnx.h"
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
/* glibc versions (single hose only) */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue