Remove some include order dependencies
authorRoland Schulz <roland@utk.edu>
Sun, 24 Aug 2014 06:56:12 +0000 (02:56 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 7 Sep 2014 15:14:42 +0000 (17:14 +0200)
commitca364374d27b09e182ef2a7bd099a6ec038ad21e
tree914156c9c435551029b60887c905059c47c1f74c
parent9ea20ff4673e495759f222cb2cfb0c89b996ddef
Remove some include order dependencies

Add explicit #include statements to headers that need definitions from
other headers, instead of relying on the including code to include those
headers earlier.  This allows reordering and refactoring #include
statements without breaking the compilation in unrelated pieces of code.

This set of changes is sufficient to make things compile after applying
the WIP automatic include sorter with the default order; other ordering
may expose more such dependencies.

Change-Id: I52536bca8930f1c489b084327071f090eec8a445
19 files changed:
src/external/thread_mpi/include/thread_mpi/mpi_bindings.h
src/gromacs/gmxana/geminate.h
src/gromacs/gmxpreprocess/convparm.h
src/gromacs/gmxpreprocess/nm2type.h
src/gromacs/gmxpreprocess/tomorse.h
src/gromacs/gmxpreprocess/xlate.h
src/gromacs/legacyheaders/types/fcdata.h
src/gromacs/legacyheaders/types/forcerec.h
src/gromacs/legacyheaders/types/genborn.h
src/gromacs/legacyheaders/types/interaction_const.h
src/gromacs/legacyheaders/types/ns.h
src/gromacs/legacyheaders/types/qmmmrec.h
src/gromacs/mdlib/mdebin_bar.h
src/gromacs/pulling/pull_rotation.h
src/gromacs/selection/mempool.h
src/gromacs/swap/swapcoords.h
src/programs/mdrun/pme_loadbal.h
src/programs/view/nmol.h
src/programs/view/xmb.h