This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Fix mingw build


Our autotester broke after Nick's timings patch; we have a forward
declaration of struct timeval, but not a full definition.  This fixes
it.  We already include <sys/time.h> unconditionally in a number of
other places.

Tested i586-mingw32msvc and committed.

-- 
Daniel Jacobowitz
CodeSourcery

2007-02-05  Daniel Jacobowitz  <dan@codesourcery.com>

	* mi/mi-parse.h: Include <sys/time.h>.

Index: mi/mi-parse.h
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-parse.h,v
retrieving revision 1.7
diff -u -p -r1.7 mi-parse.h
--- mi/mi-parse.h	2 Feb 2007 23:01:27 -0000	1.7
+++ mi/mi-parse.h	5 Feb 2007 13:20:56 -0000
@@ -22,6 +22,8 @@
 #ifndef MI_PARSE_H
 #define MI_PARSE_H
 
+#include <sys/time.h>
+
 /* MI parser */
 
 /* Timestamps for current command and last asynchronous command.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]