* ser-e7kpc.c: Include <time.h> if it is available.

This commit is contained in:
Daniel Jacobowitz 2006-05-16 20:22:02 +00:00
parent e374b60130
commit cd96dfc915
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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);