aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-11-19 21:27:50 +0100
committerFabian Groffen <grobian@gentoo.org>2019-11-19 21:27:50 +0100
commit2fd5891051cb756d8299747cc7fbe01bb0382c2c (patch)
tree1e27ed9a0888be4f71e573c400620539b710ac5e /qfile.c
parentmain: fix read_portage_profile to traverse ALL parents (diff)
downloadportage-utils-2fd5891051cb756d8299747cc7fbe01bb0382c2c.tar.gz
portage-utils-2fd5891051cb756d8299747cc7fbe01bb0382c2c.tar.bz2
portage-utils-2fd5891051cb756d8299747cc7fbe01bb0382c2c.zip
qfile: include sys/stat.h because we use fstat
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qfile.c')
-rw-r--r--qfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qfile.c b/qfile.c
index 8fa6eb43..6c2ebb85 100644
--- a/qfile.c
+++ b/qfile.c
@@ -13,6 +13,7 @@
#include <xalloc.h>
#include <sys/types.h>
#include <fcntl.h>
+#include <sys/stat.h>
#include "atom.h"
#include "basename.h"