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>
This commit is contained in:
Davidlohr Bueso 2011-05-04 14:40:14 -03:00 committed by Karel Zak
parent 2d2322461c
commit 86a84a17d2
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#ifndef UTIL_LINUX_PROCUTILS
#define UTIL_LINUX_PROCUTILS
#include <dirent.h>
struct proc_tasks {
DIR *dir;
};