* interp.c: Don't include sysdep.h.
Include stdio.h and errno.h. Include string.h strings.h stdlib.h sys/stat.h if present.
This commit is contained in:
parent
bf6adea875
commit
22e041e267
|
@ -1,3 +1,9 @@
|
|||
2010-01-12 Masaki Muranaka <monaka@monami-software.com>
|
||||
|
||||
* interp.c: Don't include sysdep.h.
|
||||
Include stdio.h and errno.h.
|
||||
Include string.h strings.h stdlib.h sys/stat.h if present.
|
||||
|
||||
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
@ -34,7 +36,22 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#include "sysdep.h"
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#include "bfd.h"
|
||||
#include "gdb/callback.h"
|
||||
#include "gdb/remote-sim.h"
|
||||
|
|
Loading…
Reference in New Issue