summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavidlohr Bueso2011-05-04 19:40:14 +0200
committerKarel Zak2011-05-05 14:01:39 +0200
commit86a84a17d29f4d6353f8e5e1b89d292031676265 (patch)
tree91e408a6c5322425db430ad69d12c729f63c3712 /include
parentlsblk: add support for discard topology (-D option) (diff)
downloadkernel-qcow2-util-linux-86a84a17d29f4d6353f8e5e1b89d292031676265.tar.gz
kernel-qcow2-util-linux-86a84a17d29f4d6353f8e5e1b89d292031676265.tar.xz
kernel-qcow2-util-linux-86a84a17d29f4d6353f8e5e1b89d292031676265.zip
procutils: include missing header
To be able to use DIR we need to include the dirent.h header. This fixes issues such as: ../include/procutils.h:5: error: syntax error before "DIR" ../include/procutils.h:5: warning: no semicolon at end of struct or union Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'include')
-rw-r--r--include/procutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/procutils.h b/include/procutils.h
index 48aecdd23..ca7087a2b 100644
--- a/include/procutils.h
+++ b/include/procutils.h
@@ -1,6 +1,8 @@
#ifndef UTIL_LINUX_PROCUTILS
#define UTIL_LINUX_PROCUTILS
+#include <dirent.h>
+
struct proc_tasks {
DIR *dir;
};