aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/mon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/mon.c')
-rw-r--r--sim/ppc/mon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/ppc/mon.c b/sim/ppc/mon.c
index 5302134..30bbbc4 100644
--- a/sim/ppc/mon.c
+++ b/sim/ppc/mon.c
@@ -47,6 +47,10 @@
#include <stdlib.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#ifdef HAVE_TIME_H
#include <time.h>
#endif
@@ -55,6 +59,10 @@
#include <sys/times.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
int getrusage();