From: Davidlohr Bueso <dave@xxxxxxx> Date: Wed, 4 May 2011 14:40:14 -0300 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@xxxxxxx> --- include/procutils.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/procutils.h b/include/procutils.h index 48aecdd..ca7087a 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; }; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html