* sim-arange.c: Include libiberty.h, and stdlib.h if present.
This commit is contained in:
parent
2a939996f6
commit
590d592f87
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
1998-12-09 Doug Evans <devans@casey.cygnus.com>
|
1998-12-09 Doug Evans <devans@casey.cygnus.com>
|
||||||
|
|
||||||
|
* sim-arange.c: Include libiberty.h, and stdlib.h if present.
|
||||||
|
|
||||||
* dv-sockser.c: Include unistd.h if present.
|
* dv-sockser.c: Include unistd.h if present.
|
||||||
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.
|
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
/* Tell sim-arange.h it's us. */
|
/* Tell sim-arange.h it's us. */
|
||||||
#define SIM_ARANGE_C
|
#define SIM_ARANGE_C
|
||||||
|
|
||||||
|
#include "libiberty.h"
|
||||||
#include "sim-basics.h"
|
#include "sim-basics.h"
|
||||||
#include "sim-assert.h"
|
#include "sim-assert.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_STDLIB_H
|
||||||
|
#include <stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DEFINE_INLINE_P (! defined (SIM_ARANGE_C_INCLUDED))
|
#define DEFINE_INLINE_P (! defined (SIM_ARANGE_C_INCLUDED))
|
||||||
#define DEFINE_NON_INLINE_P defined (SIM_ARANGE_C_INCLUDED)
|
#define DEFINE_NON_INLINE_P defined (SIM_ARANGE_C_INCLUDED)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue