summaryrefslogtreecommitdiff
path: root/extras/scsi_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/scsi_id')
-rw-r--r--extras/scsi_id/scsi_id.c8
-rw-r--r--extras/scsi_id/scsi_serial.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index 75a342bb12..2754381976 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -32,14 +32,8 @@
#include <stdarg.h>
#include <ctype.h>
#include <sys/stat.h>
-#ifdef __KLIBC__
-/*
- * Assume built under udev with KLIBC
- */
-#include <libsysfs.h>
-#else
#include <sysfs/libsysfs.h>
-#endif
+
#include "scsi_id_version.h"
#include "scsi_id.h"
diff --git a/extras/scsi_id/scsi_serial.c b/extras/scsi_id/scsi_serial.c
index 80a1d51635..9fb0f05e61 100644
--- a/extras/scsi_id/scsi_serial.c
+++ b/extras/scsi_id/scsi_serial.c
@@ -31,14 +31,8 @@
#include <unistd.h>
#include <syslog.h>
#include <scsi/sg.h>
-#ifdef __KLIBC__
-/*
- * Assume built under udev with KLIBC
- */
-#include <libsysfs.h>
-#else
#include <sysfs/libsysfs.h>
-#endif
+
#include "scsi_id.h"
#include "scsi.h"