Ubuntu Pastebin

Paste from morphis at Tue, 28 Mar 2017 13:41:50 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
diff --git a/cmd/configure.ac b/cmd/configure.ac
index 619ef42..e339f9f 100644
--- a/cmd/configure.ac
+++ b/cmd/configure.ac
@@ -22,7 +22,12 @@ AC_SYS_LARGEFILE
 # Checks for header files.
 AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/mount.h unistd.h])
 AC_CHECK_HEADERS([sys/quota.h], [], [AC_MSG_ERROR(sys/quota.h unavailable)])
-AC_CHECK_HEADERS([xfs/xqm.h],   [], [AC_MSG_ERROR(xfs/xqm.h unavailable)])
+AC_CHECK_HEADERS([xfs/xqm.h], [], [AC_MSG_ERROR(xfs/xqm.h unavailable)],
+[[#ifdef HAVE_XQM_H
+#define _FILE_OFFSET_BITS 64
+#include <xfs/xqm.h>
+#endif
+]])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_CHECK_HEADER_STDBOOL
Download as text