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 ac0c4dfe4ef77b01e661ae61a05498888c23f599..1e495767be6edc7d85496f6a2486a3894bf8a70c 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 d8c86cdd701011f914ff54788ade4ccf4d70dba7..ca3194b5277a6c17572811e373b30d05811a199d 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 320eb98b1c4b74b24622c3c1805326e6dcde1d40..9c42d358561fb11bd81a8999614bedd059ffa280 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 1c0ecfe7479b0e95d748b99b4985fed6b0e355e6..fbffa4d5602ce3e0807842e7dcb72c7df1e0a1e0 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"