* lib/fstatat.c: Include <sys/types.h> before <sys/stat.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Sep 2011 20:10:42 +0000 (13:10 -0700)
committerIan Beckwith <ianb@erislabs.net>
Wed, 7 Sep 2011 23:52:53 +0000 (00:52 +0100)
(cherry picked from commit 6cf1a9531a2d12c913b14c1caf1d986c5cf034a2)

lib/fstatat.c

index d592d60..a904e43 100644 (file)
@@ -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