Give the dmapi test suite some build instructions
[xfstests-dev.git] / dmapi / configure.in
index 869172769ea36764fb58aa21708484fa13a2a065..b3e32337d644796743d3b44d47e5f985b139121e 100644 (file)
@@ -24,6 +24,7 @@ AC_CHECK_HEADERS(sys/dmi.h)
 CPPFLAGS="-I\$(top_srcdir)/src/common"
 if test "$have_xfs_dmapi_h" = 1; then
 CPPFLAGS="$CPPFLAGS -I/usr/include/xfs"
+CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"
 fi
 
 AC_SUBST(CPPFLAGS)