OSDN Git Service

Index: common/ChangeLog
authorAndrew Cagney <cagney@redhat.com>
Thu, 14 Nov 2002 02:54:14 +0000 (02:54 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 14 Nov 2002 02:54:14 +0000 (02:54 +0000)
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.

Index: d10v/ChangeLog
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* simops.c: Include <string.h>.

sim/common/ChangeLog
sim/common/run.c
sim/d10v/ChangeLog
sim/d10v/simops.c

index ac0c4df..1e49576 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-13  Andrew Cagney  <cagney@redhat.com>
+
+       * run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
+
 2002-11-06  Richard Sandiford  <rsandifo@redhat.com>
 
        * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
index d8c86cd..ca3194b 100644 (file)
@@ -156,7 +156,7 @@ main (ac, av)
            target.  */
        operating_p = 1;
        break;
-#endif SIM_HAVE_ENVIRONMENT
+#endif
 #ifdef SIM_HAVE_PROFILE
       case 'p':
        sim_set_profile (atoi (optarg));
index 320eb98..9c42d35 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-13  Andrew Cagney  <cagney@redhat.com>
+
+       * simops.c: Include <string.h>.
+
 2002-06-17  Andrew Cagney  <cagney@redhat.com>
 
        * d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.
index 1c0ecfe..fbffa4d 100644 (file)
@@ -7,6 +7,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
 
 #include "d10v_sim.h"
 #include "simops.h"