summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--fdisk/fdisksunlabel.c5
2 files changed, 0 insertions, 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 <endian.h>
-#ifdef HAVE_SCSI_SCSI_H
-#define u_char unsigned char
-#include <scsi/scsi.h> /* SCSI_IOCTL_GET_IDLUN */
-#undef u_char
-#endif
#ifdef HAVE_LINUX_MAJOR_H
#include <linux/major.h> /* FLOPPY_MAJOR */
#endif