sim/mips/cp1.c: Include <stdlib.h> for abort() declaration
authorPavel I. Kryukov <kryukov@frtk.ru>
Mon, 14 Dec 2020 03:02:05 +0000 (07:02 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 14 Dec 2020 03:02:05 +0000 (07:02 +0400)
sim/mips/ChangeLog:

* cp1.c: Include <stdlib.h>

sim/mips/ChangeLog
sim/mips/cp1.c

index 7ced3edd1bb7e409bb79d073facad24586845d18..8164bb28b41a8de132fbb2d94de8c06d17f560c8 100644 (file)
@@ -1,3 +1,7 @@
+2020-12-14  Pavel I. Kryukov  <kryukov@frtk.ru>  (tiny change)
+
+       * cp1.c: Include <stdlib.h>.
+
 2020-07-29  Simon Marchi  <simon.marchi@efficios.com>
 
        * configure: Re-generate.
index 82fdea2bcb58f3257f09e0f095a1267c6114da6f..d81b07a20c9aa9342b48e60e41f24cebd6d0ce3b 100644 (file)
@@ -42,6 +42,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "sim-main.h"
 
+#include <stdlib.h>
+
 /* Within cp1.c we refer to sim_cpu directly.  */
 #define CPU cpu
 #define SD CPU_STATE(cpu)