From df41554d990fd9e69495253b4dc1979c6cd8621f Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Mon, 23 Feb 2004 19:06:49 -0800 Subject: [PATCH] [PATCH] fix up libsysfs header file usage to fix bug reports from users that have sysfsutils installed already. --- libsysfs/sysfs.h | 1 + libsysfs/sysfs/libsysfs.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libsysfs/sysfs.h b/libsysfs/sysfs.h index 49c9285b..1b800ddc 100644 --- a/libsysfs/sysfs.h +++ b/libsysfs/sysfs.h @@ -31,6 +31,7 @@ #include #include #include +#include "dlist.h" /* Debugging */ #ifdef DEBUG diff --git a/libsysfs/sysfs/libsysfs.h b/libsysfs/sysfs/libsysfs.h index 10faab92..f3d2dd4d 100644 --- a/libsysfs/sysfs/libsysfs.h +++ b/libsysfs/sysfs/libsysfs.h @@ -24,7 +24,6 @@ #define _LIBSYSFS_H_ #include -#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 */ -- 2.39.5