aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-handles.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-handles.c')
-rw-r--r--sim/common/hw-handles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/hw-handles.c b/sim/common/hw-handles.c
index 2848b9b..d056562 100644
--- a/sim/common/hw-handles.c
+++ b/sim/common/hw-handles.c
@@ -23,6 +23,9 @@
#include "hw-main.h"
#include "hw-base.h"
+#if HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
struct hw_handle_mapping
{