summaryrefslogtreecommitdiffstats
path: root/libdha/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/pci.c')
-rw-r--r--libdha/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdha/pci.c b/libdha/pci.c
index 474625a68a..72f8a62505 100644
--- a/libdha/pci.c
+++ b/libdha/pci.c
@@ -62,7 +62,7 @@
/* OS depended stuff */
#if defined (linux)
#include "sysdep/pci_linux.c"
-#elif defined (__FreeBSD__) || defined(__DragonFly__)
+#elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined(__DragonFly__)
#include "sysdep/pci_freebsd.c"
#elif defined (__386BSD__)
#include "sysdep/pci_386bsd.c"