Message ID | 20200416221252.82102-5-trondmy@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | nfs-utils fixes | expand |
diff --git a/configure.ac b/configure.ac index 00b32800c526..df88e58fd0d4 100644 --- a/configure.ac +++ b/configure.ac @@ -531,7 +531,12 @@ AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM -AC_CHECK_TYPES([struct file_handle]) +AC_CHECK_TYPES([struct file_handle], [], [], [[ + #define _GNU_SOURCE + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> + ]]) dnl ************************************************************* dnl Check for functions