summaryrefslogtreecommitdiff
path: root/libsysfs/sysfs
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-23 19:06:49 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:29 -0700
commitdf41554d990fd9e69495253b4dc1979c6cd8621f (patch)
tree44f7b0514149beb36a2c59e3f309b4933499a650 /libsysfs/sysfs
parent75a7b641ab766b14f4e5f3689b47486c7fdba694 (diff)
[PATCH] fix up libsysfs header file usage to fix bug reports from users that have sysfsutils installed already.
Diffstat (limited to 'libsysfs/sysfs')
-rw-r--r--libsysfs/sysfs/libsysfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsysfs/sysfs/libsysfs.h b/libsysfs/sysfs/libsysfs.h
index 10faab92aa..f3d2dd4d16 100644
--- a/libsysfs/sysfs/libsysfs.h
+++ b/libsysfs/sysfs/libsysfs.h
@@ -24,7 +24,6 @@
#define _LIBSYSFS_H_
#include <sys/types.h>
-#include "dlist.h"
/*
* Generic #defines go here..
@@ -47,6 +46,8 @@
#define SYSFS_METHOD_SHOW 0x01 /* attr can be read by user */
#define SYSFS_METHOD_STORE 0x02 /* attr can be changed by user */
+struct dlist;
+
struct sysfs_attribute {
unsigned char *value;
unsigned short len; /* value length */