diff --git a/config/user-statx.m4 b/config/user-statx.m4 index b2441631c..d359f48b8 100644 --- a/config/user-statx.m4 +++ b/config/user-statx.m4 @@ -15,6 +15,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_STATX], [ AC_MSG_CHECKING([for STATX_MNT_ID]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ + #define _GNU_SOURCE #include ]], [[ struct statx stx;