summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/firewire/sbp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index be9193a795a0..0b665314c303 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -43,6 +43,9 @@
#include <machine/bus.h>
#include <sys/malloc.h>
+#if __FreeBSD_version < 500106
+#include <sys/devicestat.h> /* for struct devstat */
+#endif
#include <cam/cam.h>
#include <cam/cam_ccb.h>