From: Darrick J. Wong Date: Wed, 23 Mar 2016 06:37:32 +0000 (+1100) Subject: xfs/122: define _GNU_SOURCE when compiling test program X-Git-Tag: v2022.05.01~2570 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e1644f57bb207ead27defb4f30664e273f1e56ca;p=xfstests-dev.git xfs/122: define _GNU_SOURCE when compiling test program This makes it so we don't get warnings about off64_t not being defined when compiling the test program. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/xfs/122 b/tests/xfs/122 index 758cb506..dc28c56a 100755 --- a/tests/xfs/122 +++ b/tests/xfs/122 @@ -73,6 +73,7 @@ oprog=$tmp.get_structs progout=$tmp.output cat >$cprog < EOF for hdr in /usr/include/xfs/xfs*.h; do