aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1996-10-31 19:58:14 +0000
committerGavin Romig-Koch <gavin@redhat.com>1996-10-31 19:58:14 +0000
commit7fc45edb6c0136e5a2e775ae78b33bac1d7e6661 (patch)
tree68587f74f05bfd89b6e6073ea46aca0cddd06e53 /sim
parent2b5c4499c231c155c13795d015ed40416ed3e8a2 (diff)
downloadgdb-7fc45edb6c0136e5a2e775ae78b33bac1d7e6661.zip
gdb-7fc45edb6c0136e5a2e775ae78b33bac1d7e6661.tar.gz
gdb-7fc45edb6c0136e5a2e775ae78b33bac1d7e6661.tar.bz2
Fix linux build problem.
Diffstat (limited to 'sim')
-rw-r--r--sim/v850/ChangeLog5
-rw-r--r--sim/v850/simops.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index da0ab64..f62632e 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 31 14:44:10 1996 Gavin Koch <gavin@cygnus.com>
+
+ * simops.c: Include <sys/time.h> for struct timeval and
+ struct timezone.
+
Wed Oct 30 08:49:10 1996 Jeffrey A Law (law@cygnus.com)
* simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday.
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index c932849..2ceb566 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -6,6 +6,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <sys/times.h>
+#include <sys/time.h>
enum op_types {
OP_UNKNOWN,