* lib/stat-w32.c: Always include <sys/types.h>. Otherwise, xlc
12.01 complains "Compilation unit is empty."
+2017-06-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ stat: port to xlc 12.01
+ * lib/stat-w32.c: Always include <sys/types.h>. Otherwise, xlc
+ 12.01 complains "Compilation unit is empty."
+
2017-06-24 Paul Eggert <eggert@cs.ucla.edu>
xalloc-oversized: port to icc
#include <config.h>
+/* Include this on all platforms, so that the compilation unit is nonempty. */
+#include <sys/types.h>
+
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
/* Ensure that <windows.h> defines FILE_ID_INFO. */
#undef _WIN32_WINNT
#define _WIN32_WINNT _WIN32_WINNT_WIN8
-#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <limits.h>