summaryrefslogtreecommitdiff
path: root/lib/fstatat.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-07 20:16:00 -0600
committerEric Blake <ebb9@byu.net>2009-09-07 20:17:12 -0600
commit2c90f1af0fd6fcf444f5c16de9ff465651a854fc (patch)
treeb89fe8cad1279d72e7d441b91898f8ba50df1030 /lib/fstatat.c
parentc5c46dcc8e875485a2c5d27cce106491fb41400e (diff)
downloadgnulib-2c90f1af0fd6fcf444f5c16de9ff465651a854fc.tar.gz
fstatat: fix compilation on Solaris
* lib/fstatat.c (includes): Add fcntl.h. Reported by Pádraig Brady. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/fstatat.c')
-rw-r--r--lib/fstatat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fstatat.c b/lib/fstatat.c
index 2bf547e51b..9b0c1afa24 100644
--- a/lib/fstatat.c
+++ b/lib/fstatat.c
@@ -22,6 +22,7 @@
#include <sys/stat.h>
#include <errno.h>
+#include <fcntl.h>
#include <string.h>
#undef fstatat