sim: m32r: add __linux__ hack for non-Linux hosts
[binutils-gdb.git] / sim / m32r / m32rx.c
index c48f7cdc32053ced9beedc5f3b108ab3a846f84f..0e774bace74493c4660083e083da680094b3ab4f 100644 (file)
@@ -1,6 +1,5 @@
 /* m32rx simulator support code
-   Copyright (C) 1997, 1998, 2007, 2008, 2009, 2010, 2011
-   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.
@@ -18,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