[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160305003809.28738.85961.stgit@birch.djwong.org>
Date: Fri, 04 Mar 2016 16:38:09 -0800
From: "Darrick J. Wong" <darrick.wong@...cle.com>
To: david@...morbit.com, darrick.wong@...cle.com
Cc: linux-ext4@...r.kernel.org, linux-btrfs@...r.kernel.org,
fstests@...r.kernel.org, xfs@....sgi.com
Subject: [PATCH 08/12] 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@...cle.com>
---
tests/xfs/122 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/xfs/122 b/tests/xfs/122
index 758cb50..dc28c56 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists