summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus/Pci.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-05-04 04:14:58 +0000
committerEric Anholt <anholt@freebsd.org>2005-05-04 04:14:58 +0000
commitd5739efd2c266081ed6b844767dcdd0a3331bfd3 (patch)
tree074c8c34ba9d24a8d2ea8b25aeed5db1c35a6bb7 /hw/xfree86/os-support/bus/Pci.h
parent6700847458427cbdbaf837ab06bfea9b80d92df2 (diff)
Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter Grehan, grehan at FreeBSD dot org)
Diffstat (limited to 'hw/xfree86/os-support/bus/Pci.h')
-rw-r--r--hw/xfree86/os-support/bus/Pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h
index 4359a0856..002eecb35 100644
--- a/hw/xfree86/os-support/bus/Pci.h
+++ b/hw/xfree86/os-support/bus/Pci.h
@@ -284,7 +284,7 @@
# define ARCH_PCI_INIT linuxPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
# define INCLUDE_XF86_NO_DOMAIN /* Needs kernel work to remove */
-# elif defined(__OpenBSD__)
+# elif defined(__FreeBSD__) || defined(__OpenBSD__)
# define ARCH_PCI_INIT freebsdPciInit
# define INCLUDE_XF86_MAP_PCI_MEM
# define INCLUDE_XF86_NO_DOMAIN