forked from Imagelibrary/binutils-gdb
sim: reorder header includes
We're including system headers after local headers in a bunch of places, but this leads to conflicts when our local headers happen to define symbols that show up in the system headers. Use the more standard order of: * config.h (via defs.h) * system headers * local library headers (e.g. bfd & libiberty) * sim specific headers
This commit is contained in:
@@ -20,13 +20,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
/* This must come before any other includes. */
|
||||
#include "defs.h"
|
||||
|
||||
#include "bfd.h"
|
||||
#include "libiberty.h"
|
||||
|
||||
#include "sim-main.h"
|
||||
#include "sim-model.h"
|
||||
#include "libiberty.h"
|
||||
#include "sim-options.h"
|
||||
#include "sim-io.h"
|
||||
#include "sim-assert.h"
|
||||
#include "bfd.h"
|
||||
|
||||
static void model_set (sim_cpu *, const SIM_MODEL *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user