mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00: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:
committed by
David Nusinow
parent
dc9c519628
commit
0f91abd5c6
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user