[ob] Fix mingw build
Daniel Jacobowitz
drow@false.org
Mon Feb 5 13:23:00 GMT 2007
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. */
More information about the Gdb-patches
mailing list