summaryrefslogtreecommitdiff
path: root/bsd
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-09-07 23:27:04 +0000
committerEric Anholt <anholt@freebsd.org>2003-09-07 23:27:04 +0000
commit6f563cd513bfcd35643ebc4f0d5c58f0193cc163 (patch)
tree5dbecb533dfc6a12e767d7fd39b5358dd9d813d0 /bsd
parentebca51d8da42e7e4882694bc3233bf0f8dbdf301 (diff)
Fix for older -stable.
Obtained from: FreeBSD CVS
Diffstat (limited to 'bsd')
-rw-r--r--bsd/drm_os_freebsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsd/drm_os_freebsd.h b/bsd/drm_os_freebsd.h
index 5337cc2f..2addf2f4 100644
--- a/bsd/drm_os_freebsd.h
+++ b/bsd/drm_os_freebsd.h
@@ -59,10 +59,11 @@
#include <sys/mman.h>
#include <sys/rman.h>
#include <sys/memrange.h>
-#include <dev/pci/pcivar.h>
#if __FreeBSD_version >= 500000
+#include <dev/pci/pcivar.h>
#include <sys/selinfo.h>
#else
+#include <pci/pcivar.h>
#include <sys/select.h>
#endif
#include <sys/bus.h>