summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorpatmans@us.ibm.com <patmans@us.ibm.com>2004-02-17 23:59:06 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:29 -0700
commit0bad3406c1e8eba6d5af2cbfd44d8a61231fa2bb (patch)
treeb8fe526831f4650cdc1266a430487ae98407c5e4 /extras
parenta638109dfa2e99c31c74ce107940c8171027ba2e (diff)
[PATCH] udev use new libsysfs header file location
Use the new location of libsysfs header files.
Diffstat (limited to 'extras')
-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"