summaryrefslogtreecommitdiffstats
path: root/fdisk/fdisksgilabel.c
diff options
context:
space:
mode:
authorSamuel Thibault2007-11-28 10:40:32 +0100
committerKarel Zak2007-11-28 10:41:26 +0100
commite460a5bf893227ccd7cdc9b8e5beec1ebc30a858 (patch)
tree0a3e4f29b76835d95a4d890efd935b6a1fdb7297 /fdisk/fdisksgilabel.c
parentfdisk: non-linux support (MAXPATHLEN) (diff)
downloadkernel-qcow2-util-linux-e460a5bf893227ccd7cdc9b8e5beec1ebc30a858.tar.gz
kernel-qcow2-util-linux-e460a5bf893227ccd7cdc9b8e5beec1ebc30a858.tar.xz
kernel-qcow2-util-linux-e460a5bf893227ccd7cdc9b8e5beec1ebc30a858.zip
build-sys: cleanup usage of linux/major.h
The utils like fdisk or login are usable on non-linux systems. This patch allows to compile on systems without linux/major.h. Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'fdisk/fdisksgilabel.c')
-rw-r--r--fdisk/fdisksgilabel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c
index 5adf64e39..c970c7cf9 100644
--- a/fdisk/fdisksgilabel.c
+++ b/fdisk/fdisksgilabel.c
@@ -22,7 +22,6 @@
#include <endian.h>
#include "nls.h"
-#include <linux/major.h> /* FLOPPY_MAJOR */
#include "blkdev.h"