[PATCH] fix up libsysfs header file usage to fix bug reports from users that have sysfsutils installed already.

This commit is contained in:
greg@kroah.com 2004-02-23 19:06:49 -08:00 committed by Greg KH
parent 75a7b641ab
commit df41554d99
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include "dlist.h"
/* Debugging */
#ifdef DEBUG

View File

@ -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 */