changeset 15548:2f8afdd5ebf5

* lib/fstatat.c: Include <sys/types.h> before <sys/stat.h>.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 01 Sep 2011 13:10:42 -0700
parents 50ebbdbce688
children c732298539f1
files lib/fstatat.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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