diff options
-rw-r--r-- | sys/dev/usb/uscanner.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c index 26cb63f..d07c738 100644 --- a/sys/dev/usb/uscanner.c +++ b/sys/dev/usb/uscanner.c @@ -252,6 +252,9 @@ Static struct cdevsw uscanner_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, +#if !defined(__FreeBSD__) || (__FreeBSD__ < 5) + /* bmaj */ -1 +#endif }; #endif |