| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 08/12] xfs/122: define _GNU_SOURCE when compiling test program |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Fri, 04 Mar 2016 16:38:09 -0800 |
| Cc: | linux-ext4@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160305003717.28738.98818.stgit@xxxxxxxxxxxxxxxx> |
| References: | <20160305003717.28738.98818.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | StGit/0.17.1-dirty |
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@xxxxxxxxxx> --- 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 |
| Previous by Date: | [PATCH 07/12] xfs/073: fix output, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 09/12] xfs/122: support rmapxbt, Darrick J. Wong |
| Previous by Thread: | Re: [PATCH 07/12] xfs/073: fix output, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 08/12] xfs/122: define _GNU_SOURCE when compiling test program, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |