include "config.h" instead of BFD's sysdep.h in d10v/interp.c
[deliverable/binutils-gdb.git] / sim / d10v / interp.c
index 92f161bd95cf6abee25c14e560e1392f6c0c6289..23db647a33c5e8f8eedb420dc8d96cf0cc22829c 100644 (file)
@@ -1,5 +1,5 @@
+#include "config.h"
 #include <signal.h>
-#include "sysdep.h"
 #include "bfd.h"
 #include "gdb/callback.h"
 #include "gdb/remote-sim.h"
@@ -8,6 +8,18 @@
 #include "gdb/sim-d10v.h"
 #include "gdb/signals.h"
 
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif /* HAVE_STRING_H */
+#endif /* HAVE_STRINGS_H */
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 enum _leftright { LEFT_FIRST, RIGHT_FIRST };
 
 static char *myname;
This page took 0.022941 seconds and 4 git commands to generate.