Skip to content

Commit c06341e

Browse files
raffenetggouaillardet
authored andcommitted
[mpich romio a712b56] romio/gpfs: Fix header include order
> Pulled in from mpich romio, branch "main". > Their commit message is below. > > This is part of a batch of commits from the > following set of PRs: > * pmodels/mpich#4943 > -- darray fix which contains a flatten fix > 73a3eba > c4b5762 > * pmodels/mpich#4995 > -- write strided fix > bbb5210 > * pmodels/mpich#5100 > -- build fix for -Wpedantic > ad0e435 > * pmodels/mpich#5099 > -- build fix, they had let file-system=...gpfs bit rot > e1d42af > 313289a > 83bbb82 > * pmodels/mpich#5150 > -- build fix, configure-related _GNU_SOURCE > a712b56 > 5a036e7 > * pmodels/mpich#5184 > -- build fix, continuation of _GNU_SOURCE fix > d97c4ee adio.h must be included before any system headers so that config settings are taken into account. Fixes an issue where aligned_alloc may be used without a declaration. See similar fix in [4fcffbe695cb]. Signed-off-by: Mark Allen <markalle@us.ibm.com>
1 parent cbfbda0 commit c06341e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rd-party/romio341/adio/ad_gpfs/ad_gpfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#ifndef AD_GPFS_H_INCLUDED
1212
#define AD_GPFS_H_INCLUDED
1313

14+
#include "adio.h"
1415
#include <unistd.h>
1516
#include <stdlib.h>
1617
#include <sys/types.h>
1718
#include <fcntl.h>
18-
#include "adio.h"
1919

2020
#ifdef HAVE_SIGNAL_H
2121
#include <signal.h>

0 commit comments

Comments
 (0)