From: Mike Frysinger Date: Thu, 9 Sep 2021 00:55:15 +0000 (-0400) Subject: sim: ppc: drop unnecessary config includes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74e43bd231cb60d18930293e0eb9119058dffd40;p=binutils-gdb.git sim: ppc: drop unnecessary config includes This file is compiled for the --host & --build system which leads to including the configure generated config.h in both environments. This obviously doesn't work when the two targets don't look alike at all and can cause build failures here (e.g. a mingw host & a linux build). Since we don't actually need any config settings in this very simple file, drop the includes entirely. --- diff --git a/sim/ppc/filter_filename.c b/sim/ppc/filter_filename.c index b59ca21ca55..fb2457c0b2c 100644 --- a/sim/ppc/filter_filename.c +++ b/sim/ppc/filter_filename.c @@ -17,10 +17,6 @@ */ -/* This must come before any other includes. */ -#include "defs.h" - -#include "ppc-config.h" #include "filter_filename.h" /* Shorten traces by eliminating the directory component to filenames. */