sim: remove use of PTR
[binutils-gdb.git] / sim / m32r / m32r2.c
index c607ff85f02d3f0b6459b693edc79adf55089a1c..9c8daa5b8c673c10568a3dc809f2cc3ab42f2268 100644 (file)
@@ -1,5 +1,5 @@
 /* m32r2 simulator support code
-   Copyright (C) 1997-2017 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