aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/dv-lm32uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/dv-lm32uart.c')
-rw-r--r--sim/lm32/dv-lm32uart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/lm32/dv-lm32uart.c b/sim/lm32/dv-lm32uart.c
index c840b17..1f8ba1d 100644
--- a/sim/lm32/dv-lm32uart.c
+++ b/sim/lm32/dv-lm32uart.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 "hw-main.h"
#include "sim-assert.h"