sim: m32r: add __linux__ hack for non-Linux hosts
[binutils-gdb.git] / sim / m32r / m32rx.c
index 94a108af6e6a4a690cee7f4da00818740c79229f..0e774bace74493c4660083e083da680094b3ab4f 100644 (file)
@@ -1,5 +1,5 @@
 /* m32rx simulator support code
-   Copyright (C) 1997-2015 Free Software Foundation, Inc.
+   Copyright (C) 1997-2021 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
 This file is part of GDB, the GNU debugger.
@@ -17,6 +17,9 @@ 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 m32rxf
 #define WANT_CPU_M32RXF