]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/frv/interrupts.c
sim: unify -Werror build settings
[thirdparty/binutils-gdb.git] / sim / frv / interrupts.c
index 1458bbdd0696828959b5948fb95dc16128fbd959..99b27cffa948cecfee5d1d32e2abb43736e10233 100644 (file)
@@ -1,5 +1,5 @@
 /* frv exception and interrupt support
-   Copyright (C) 1999-2015 Free Software Foundation, Inc.
+   Copyright (C) 1999-2021 Free Software Foundation, Inc.
    Contributed by Red Hat.
 
 This file is part of the GNU simulators.
@@ -17,11 +17,16 @@ GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+/* This must come before any other includes.  */
+#include "defs.h"
+
 #define WANT_CPU frvbf
 #define WANT_CPU_FRVBF
 
 #include "sim-main.h"
+#include "sim-signal.h"
 #include "bfd.h"
+#include <stdlib.h>
 
 /* FR-V Interrupt table.
    Describes the interrupts supported by the FR-V.