* ser-e7kpc.c: Include <time.h> if it is available.
authorDaniel Jacobowitz <drow@false.org>
Tue, 16 May 2006 20:22:02 +0000 (20:22 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 16 May 2006 20:22:02 +0000 (20:22 +0000)
gdb/ChangeLog
gdb/ser-e7kpc.c

index f61db849f3e65a9bae17002dd9fa78dcb9271562..6e68de4427d01091531ff9c3abfad4daf427db8a 100644 (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.
index cd1485c2266b3e7f6666d2d97285c21dae3009fc..fd3252db83034ecedd5cb260e239daf807031772 100644 (file)
 #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);