sim: cr16: include config.h rather than sysdep.h from bfd
authorMike Frysinger <vapier@gentoo.org>
Sun, 17 Jun 2012 23:34:17 +0000 (23:34 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 17 Jun 2012 23:34:17 +0000 (23:34 +0000)
sim/cr16/ChangeLog
sim/cr16/interp.c

index 8c3c5a1cd79743c2639f9802589cdde9338a1e6b..ca3f5b1c14767f3c2a52518c01f2c10016139eba 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-17  Mike Frysinger  <vapier@gentoo.org>
+
+       * interp.c: Include config.h first.  Also include stdlib.h and
+       string.h so we can drop the sysdep.h include.
+
 2012-06-15  Joel Brobecker  <brobecker@adacore.com>
 
        * config.in, configure: Regenerate.
index 86c4c0d3ce283348477c71b26a52ce95441e747a..606a16108f253df521f92949fdae15ea0c37ceb2 100644 (file)
    You should have received a copy of the GNU General Public License 
    along with this program. If not, see <http://www.gnu.org/licenses/>.  */
 
+#include "config.h"
 #include <signal.h>
-#include "sysdep.h"
+#include <stdlib.h>
+#include <string.h>
 #include "bfd.h"
 #include "gdb/callback.h"
 #include "gdb/remote-sim.h"