diff options
Diffstat (limited to 'disk-utils/fdformat.c')
-rw-r--r-- | disk-utils/fdformat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/disk-utils/fdformat.c b/disk-utils/fdformat.c index 6c3ef5c91..0251e3440 100644 --- a/disk-utils/fdformat.c +++ b/disk-utils/fdformat.c @@ -15,9 +15,12 @@ #include <sys/stat.h> #include <sys/ioctl.h> #include <linux/fd.h> -#include <linux/fs.h> + #include "nls.h" +/* cannot include <linux/fs.h> */ +#define MAJOR(a) ((a)>>8) + static int ctrl; struct floppy_struct param; |