diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-02 20:21:35 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-02 20:21:35 +0000 |
commit | c494cadde621b6d371d03df79486176c10bea303 (patch) | |
tree | 03d8d63bee68e226acc43019ff8f71206b243c2a /sim/ppc/psim.c | |
parent | 183e1f0d7cfee05ed0c39f36a1934e4476546436 (diff) | |
download | gdb-c494cadde621b6d371d03df79486176c10bea303.zip gdb-c494cadde621b6d371d03df79486176c10bea303.tar.gz gdb-c494cadde621b6d371d03df79486176c10bea303.tar.bz2 |
Use autoconf correctly; provide more stats with -I
Diffstat (limited to 'sim/ppc/psim.c')
-rw-r--r-- | sim/ppc/psim.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c index 66c54ed..03b57fe 100644 --- a/sim/ppc/psim.c +++ b/sim/ppc/psim.c @@ -24,22 +24,32 @@ #include <stdio.h> #include <ctype.h> -#include <stdlib.h> #include "config.h" #include "ppc-config.h" #include "inline.h" +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif + #ifndef STATIC_INLINE_PSIM #define STATIC_INLINE_PSIM STATIC_INLINE #endif -#include <string.h> #include <setjmp.h> #include "cpu.h" /* includes psim.h */ #include "idecode.h" +#ifdef HAVE_STRING_H +#include <string.h> +#else +#ifdef HAVE_STRINGS_H +#include <strings.h> +#endif +#endif + #include "bfd.h" |