summaryrefslogtreecommitdiff
path: root/sys/dev/ar/if_ar_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ar/if_ar_pci.c')
-rw-r--r--sys/dev/ar/if_ar_pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ar/if_ar_pci.c b/sys/dev/ar/if_ar_pci.c
index 9643412511cb..6fa1d522d3d7 100644
--- a/sys/dev/ar/if_ar_pci.c
+++ b/sys/dev/ar/if_ar_pci.c
@@ -29,10 +29,6 @@
* $FreeBSD$
*/
-#ifndef COMPAT_OLDPCI
-#error "The ar device requires the old pci compatibility shims"
-#endif
-
#include "ar.h"
#include <sys/param.h>
@@ -42,6 +38,10 @@
#include <pci/pcivar.h>
+#ifndef COMPAT_OLDPCI
+#error "The ar device requires the old pci compatibility shims"
+#endif
+
/*
* The must match with the real functions in if_ar.c
*/