PR29261, memory leak in parse_stab_struct_fields
[binutils-gdb.git] / sim / lm32 / dv-lm32timer.c
index 565b9b70f083e18b8152fe0f08485f2238d19839..08bc138af95d6c8285b3dea64443ee3006be8809 100644 (file)
@@ -1,7 +1,7 @@
 /*  Lattice Mico32 timer model.
     Contributed by Jon Beniston <jon@beniston.com>
     
-   Copyright (C) 2009-2012 Free Software Foundation, Inc.
+   Copyright (C) 2009-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -18,6 +18,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"
+
 #include "sim-main.h"
 #include "hw-main.h"
 #include "sim-assert.h"