summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-08 20:55:15 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-08 21:02:25 -0400
commit74e43bd231cb60d18930293e0eb9119058dffd40 (patch)
tree6b3aad862670432aa84ac2d53db784714ca92ae0
parent3660254ee0cc665ba99b2b60d78e0253cb161784 (diff)
downloadbinutils-gdb-74e43bd231cb60d18930293e0eb9119058dffd40.tar.gz
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.
-rw-r--r--sim/ppc/filter_filename.c4
1 files changed, 0 insertions, 4 deletions
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. */