On 14/06/19 19:37, Jeff Layton wrote: > * STATX_INO isn't defined until stat.h is included. Move the test down > so it works properly. > --- > src/stat.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/src/stat.c b/src/stat.c > index 3bb84f35d4c0..ec0bb7de496c 100644 > --- a/src/stat.c > +++ b/src/stat.c > @@ -28,12 +28,6 @@ > # 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> > @@ -80,6 +74,12 @@ > #include "find-mount-point.h" > #include "xvasprintf.h" > > +#if HAVE_STATX && defined STATX_INO > +# define USE_STATX 1 > +#else > +# define USE_STATX 0 > +#endif > +
Ouch, my bad. Thanks for double checking. pushed. cheers, Pádraig