missing include
[bootmanager.git] / source / libc-opendir-hack.c
index 1b163bf..182a59d 100644 (file)
@@ -1,8 +1,3 @@
-/*
- * $Id$
- * $URL$
- */
-
 #define _GNU_SOURCE 1
 
 #include <stdio.h>
@@ -14,6 +9,7 @@
 #include <glob.h>
 #include <stdarg.h>
 #include <string.h>
+#include <sys/stat.h>
 
 #define INIT(x)        real_ ## x = dlsym(RTLD_NEXT, #x); \
                if (!real_ ## x) { \