aboutsummaryrefslogtreecommitdiff
path: root/sim/w65/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/w65/run.c')
-rw-r--r--sim/w65/run.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sim/w65/run.c b/sim/w65/run.c
index a636e3f..eb76590 100644
--- a/sim/w65/run.c
+++ b/sim/w65/run.c
@@ -21,9 +21,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Steve Chamberlain
sac@cygnus.com */
+#include "config.h"
+
#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include "getopt.h"
#include "bfd.h"
-#include "sysdep.h"
+
+#ifdef NEED_DECLARATION_PRINTF
+extern int printf ();
+#endif
void usage();
extern int optind;