* src/stat.c: STATX_INO isn't defined until stat.h is included.
Move the test down so it works properly.
# define USE_STATVFS 0
#endif
-#if HAVE_STATX && defined STATX_INO
-# define USE_STATX 1
-#else
-# define USE_STATX 0
-#endif
-
#include <stddef.h>
#include <stdio.h>
#include <stdalign.h>
#include "find-mount-point.h"
#include "xvasprintf.h"
+#if HAVE_STATX && defined STATX_INO
+# define USE_STATX 1
+#else
+# define USE_STATX 0
+#endif
+
#if USE_STATVFS
# define STRUCT_STATXFS_F_FSID_IS_INTEGER STRUCT_STATVFS_F_FSID_IS_INTEGER
# define HAVE_STRUCT_STATXFS_F_TYPE HAVE_STRUCT_STATVFS_F_TYPE