From: Mike Frysinger Date: Sun, 17 Jun 2012 23:34:17 +0000 (+0000) Subject: sim: cr16: include config.h rather than sysdep.h from bfd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=266879991149e529ed25bcbcd610582a2fbbdc6b;p=binutils-gdb.git sim: cr16: include config.h rather than sysdep.h from bfd --- diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index 8c3c5a1cd79..ca3f5b1c147 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,8 @@ +2012-06-17 Mike Frysinger + + * interp.c: Include config.h first. Also include stdlib.h and + string.h so we can drop the sysdep.h include. + 2012-06-15 Joel Brobecker * config.in, configure: Regenerate. diff --git a/sim/cr16/interp.c b/sim/cr16/interp.c index 86c4c0d3ce2..606a16108f2 100644 --- a/sim/cr16/interp.c +++ b/sim/cr16/interp.c @@ -17,8 +17,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include "config.h" #include -#include "sysdep.h" +#include +#include #include "bfd.h" #include "gdb/callback.h" #include "gdb/remote-sim.h"