mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
16625d3b23
commit
e1644f57bb
@@ -73,6 +73,7 @@ oprog=$tmp.get_structs
|
||||
progout=$tmp.output
|
||||
|
||||
cat >$cprog <<EOF
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
EOF
|
||||
for hdr in /usr/include/xfs/xfs*.h; do
|
||||
|
||||
Reference in New Issue
Block a user