aboutsummaryrefslogtreecommitdiff
path: root/sim/v850/simops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r--sim/v850/simops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index fe1ed8f..29149c6 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -7,6 +7,10 @@
#include <utime.h>
#endif
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
/* FIXME - should be including a version of syscall.h that does not
pollute the name space */
#include "../../libgloss/v850/sys/syscall.h"