From 2c4b9254e911d18196c7bec8b4c84c2e65b552ea Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 13 Jan 2010 10:51:57 +0100 Subject: [PATCH] fdisk: don't include scsi.h The fdisksunlabel.c header file is unnecessary for fdisk/fdisksunlabel.h. Reported-by: Thomas Stalder Signed-off-by: Karel Zak --- configure.ac | 1 - fdisk/fdisksunlabel.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index e7750627..5ddeaa5d 100644 --- a/configure.ac +++ b/configure.ac @@ -116,7 +116,6 @@ AC_CHECK_HEADERS( net/if_dl.h \ netinet/in.h \ rpcsvc/nfs_prot.h \ - scsi/scsi.h \ stdlib.h \ sys/disk.h \ sys/disklabel.h \ diff --git a/fdisk/fdisksunlabel.c b/fdisk/fdisksunlabel.c index 2f9fad90..670a15a5 100644 --- a/fdisk/fdisksunlabel.c +++ b/fdisk/fdisksunlabel.c @@ -22,11 +22,6 @@ #include "blkdev.h" #include -#ifdef HAVE_SCSI_SCSI_H -#define u_char unsigned char -#include /* SCSI_IOCTL_GET_IDLUN */ -#undef u_char -#endif #ifdef HAVE_LINUX_MAJOR_H #include /* FLOPPY_MAJOR */ #endif -- 2.39.5