sim: remove use of PTR
[binutils-gdb.git] / sim / m32r / m32r2.c
index b85a5e7c62bbb6caae33b5afd69351eb12b0ea63..9c8daa5b8c673c10568a3dc809f2cc3ab42f2268 100644 (file)
@@ -1,5 +1,5 @@
 /* m32r2 simulator support code
-   Copyright (C) 1997-2019 Free Software Foundation, Inc.
+   Copyright (C) 1997-2022 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
    This file is part of GDB, the GNU debugger.
@@ -17,6 +17,9 @@
    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 m32r2f
 #define WANT_CPU_M32R2F