* lib/fstatat.c: Include <sys/types.h> before <sys/stat.h>.
[gnulib.git] / 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