summaryrefslogtreecommitdiff
path: root/sim/lm32/sim-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/sim-if.c')
-rw-r--r--sim/lm32/sim-if.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/lm32/sim-if.c b/sim/lm32/sim-if.c
index c97a45129dc..1cccf626b67 100644
--- a/sim/lm32/sim-if.c
+++ b/sim/lm32/sim-if.c
@@ -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 "sim-options.h"
#include "libiberty.h"