summaryrefslogtreecommitdiff
path: root/libsysfs/sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsysfs/sysfs.h')
-rw-r--r--libsysfs/sysfs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libsysfs/sysfs.h b/libsysfs/sysfs.h
index 7ac6efc678..1e58e8abb4 100644
--- a/libsysfs/sysfs.h
+++ b/libsysfs/sysfs.h
@@ -27,15 +27,18 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <mntent.h>
#include <dirent.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-#include "dlist.h"
+
+/* external library functions */
+extern int isascii(int c);
/* Debugging */
#ifdef DEBUG
-#include "../logging.h"
+#include "../logging.h"
#define dprintf(format, arg...) dbg(format, ##arg)
#else
#define dprintf(format, arg...) do { } while (0)