sim: ppc: drop unnecessary config includes
authorMike Frysinger <vapier@gentoo.org>
Thu, 9 Sep 2021 00:55:15 +0000 (20:55 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 9 Sep 2021 01:02:25 +0000 (21:02 -0400)
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.

sim/ppc/filter_filename.c

index b59ca21ca559a74f2c8af62496c51d8acc609397..fb2457c0b2c2de86f721b75ae4f5b65f9d6bd650 100644 (file)
  
     */
 
-/* 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.  */