diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-16 20:22:02 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-16 20:22:02 +0000 |
commit | cd96dfc9156248f614178b4dd238bb8503a88891 (patch) | |
tree | d34ba7681666c26b7fcb6b8a73af6b567bfe36b4 /gdb/ser-e7kpc.c | |
parent | e374b601304dd4b4605d36ad5a0fb90ee2a46dc6 (diff) | |
download | gdb-cd96dfc9156248f614178b4dd238bb8503a88891.zip gdb-cd96dfc9156248f614178b4dd238bb8503a88891.tar.gz gdb-cd96dfc9156248f614178b4dd238bb8503a88891.tar.bz2 |
* ser-e7kpc.c: Include <time.h> if it is available.
Diffstat (limited to 'gdb/ser-e7kpc.c')
-rw-r--r-- | gdb/ser-e7kpc.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |