summaryrefslogtreecommitdiff
path: root/lib/fstatat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-09-01 13:10:42 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-09-01 13:10:42 -0700
commit6cf1a9531a2d12c913b14c1caf1d986c5cf034a2 (patch)
treebd07da96eda53b5b3e303a5b7e8af7377a5a2115 /lib/fstatat.c
parentde1fa2ac9aeb9f70a042ee3faa2b7712e65a278b (diff)
downloadgnulib-6cf1a9531a2d12c913b14c1caf1d986c5cf034a2.tar.gz
* lib/fstatat.c: Include <sys/types.h> before <sys/stat.h>.
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 d592d60fc0..a904e43262 100644
--- a/lib/fstatat.c
+++ b/lib/fstatat.c
@@ -24,6 +24,7 @@
#include <config.h>
/* Get the original definition of fstatat. It might be defined as a macro. */
+#include <sys/types.h>
#include <sys/stat.h>
#undef __need_system_sys_stat_h