diff options
| author | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:43 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:43 +0100 |
| commit | 22853e4a82c6ef7b336527529acb94b14a0b0fd8 (patch) | |
| tree | ee28e4598c8c449d7e811711d8ce8eb17caecfb6 /disk-utils/fdformat.c | |
| parent | eb63b9b8f4cecb34c2478282567862bc48ef256d (diff) | |
| download | util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.tar.gz | |
Imported from util-linux-2.10m tarball.v2.10m
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 6c3ef5c913..0251e34404 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; |
