aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-e7kpc.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-05-16 20:22:02 +0000
committerDaniel Jacobowitz <drow@false.org>2006-05-16 20:22:02 +0000
commitcd96dfc9156248f614178b4dd238bb8503a88891 (patch)
treed34ba7681666c26b7fcb6b8a73af6b567bfe36b4 /gdb/ser-e7kpc.c
parente374b601304dd4b4605d36ad5a0fb90ee2a46dc6 (diff)
downloadfsf-binutils-gdb-cd96dfc9156248f614178b4dd238bb8503a88891.zip
fsf-binutils-gdb-cd96dfc9156248f614178b4dd238bb8503a88891.tar.gz
fsf-binutils-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.c4
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);