diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/ser-e7kpc.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f61db84..6e68de4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ -2006-06-16 Joel Brobecker <brobecker@adacore.com> +2006-05-16 Daniel Jacobowitz <dan@codesourcery.com> + + * ser-e7kpc.c: Include <time.h> if it is available. + +2006-05-16 Joel Brobecker <brobecker@adacore.com> * version.in (version.in): Bump version number to 6.5.50 now that the gdb-6.5 branch has been created. diff --git a/gdb/ser-e7kpc.c b/gdb/ser-e7kpc.c index cd1485c..fd3252d 100644 --- a/gdb/ser-e7kpc.c +++ b/gdb/ser-e7kpc.c @@ -33,6 +33,10 @@ #include <sys/dos.h> #endif +#ifdef HAVE_TIME_H +#include <time.h> +#endif + static int e7000pc_open (struct serial *scb, const char *name); static void e7000pc_raw (struct serial *scb); static int e7000pc_readchar (struct serial *scb, int timeout); |