From 08732049490f877a5a9ce7aca95b16362371d29a Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 27 Mar 2000 20:24:02 +0000 Subject: Ahhrggg. Put the test for the compat shims AFTER the file that includes them. Pointed out by: bde --- sys/dev/en/if_en_pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/en/if_en_pci.c') diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c index 5212499..3a2f37a 100644 --- a/sys/dev/en/if_en_pci.c +++ b/sys/dev/en/if_en_pci.c @@ -45,10 +45,6 @@ * thanks to Matt Thomas for figuring out FreeBSD vs NetBSD vs etc.. diffs. */ -#ifndef COMPAT_OLDPCI -#error "The en device requires the old pci compatibility shims" -#endif - #include "en.h" #include @@ -70,6 +66,10 @@ #include #include +#ifndef COMPAT_OLDPCI +#error "The en device requires the old pci compatibility shims" +#endif + /* * prototypes -- cgit v1.1