mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-16 03:27:49 +07:00
[PATCH] fix up libsysfs header file usage to fix bug reports from users that have sysfsutils installed already.
This commit is contained in:
parent
75a7b641ab
commit
df41554d99
@ -31,6 +31,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include "dlist.h"
|
||||
|
||||
/* Debugging */
|
||||
#ifdef DEBUG
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user