From: Davidlohr Bueso Date: Wed, 4 May 2011 17:40:14 +0000 (-0300) Subject: procutils: include missing header X-Git-Tag: v2.20-rc1~300 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86a84a17d29f4d6353f8e5e1b89d292031676265;p=thirdparty%2Futil-linux.git 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 --- diff --git a/include/procutils.h b/include/procutils.h index 48aecdd23b..ca7087a2b7 100644 --- a/include/procutils.h +++ b/include/procutils.h @@ -1,6 +1,8 @@ #ifndef UTIL_LINUX_PROCUTILS #define UTIL_LINUX_PROCUTILS +#include + struct proc_tasks { DIR *dir; };