summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-01-12 10:57:32 -0500
committerChris Lumens <clumens@redhat.com>2010-01-12 10:57:32 -0500
commitbe69b3f8133eeabfab677e98ac577add8d435cd7 (patch)
tree78123bdd0e060042400c72392970b4143080371e /loader
parent5be22d8864f3a6dd056997afc8da6cc22fff4fcd (diff)
downloadanaconda-be69b3f8133eeabfab677e98ac577add8d435cd7.tar.gz
anaconda-be69b3f8133eeabfab677e98ac577add8d435cd7.tar.xz
anaconda-be69b3f8133eeabfab677e98ac577add8d435cd7.zip
Fix implicit declaration of things in sys/stat.h.
Diffstat (limited to 'loader')
-rw-r--r--loader/fwloader.c1
-rw-r--r--loader/method.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/loader/fwloader.c b/loader/fwloader.c
index 3c4f6f2c1..a91ff6b13 100644
--- a/loader/fwloader.c
+++ b/loader/fwloader.c
@@ -33,6 +33,7 @@
#include <sys/poll.h>
#include <sys/prctl.h>
#include <sys/socket.h>
+#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/loader/method.c b/loader/method.c
index 3330c2412..5f3a7cef9 100644
--- a/loader/method.c
+++ b/loader/method.c
@@ -33,6 +33,7 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
+#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <libgen.h>