aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_select.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-08-10 18:41:33 +0000
committerPedro Alves <palves@redhat.com>2008-08-10 18:41:33 +0000
commit6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd (patch)
tree55f10f37832e0a87b21b37f65dda187008b0a781 /gdb/gdb_select.h
parent91f4687cf05df5b7e2c74e326764081a52afdfc0 (diff)
downloadgdb-6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd.zip
gdb-6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd.tar.gz
gdb-6eb7ee032e6d1ab881dae7e5ef42d101d94f1cbd.tar.bz2
* buildsym.c (start_subfile): Properly cast sentinel in concat
call. * cp-name-parser.y: Include "config.h". * xml-tdesc.c (fetch_xml_from_file): Properly cast sentinel in concat call. * gdb_select.h: Include sys/time.h if sys/select.h is not available.
Diffstat (limited to 'gdb/gdb_select.h')
-rw-r--r--gdb/gdb_select.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdb_select.h b/gdb/gdb_select.h
index 5bcdcf3..407ec9a 100644
--- a/gdb/gdb_select.h
+++ b/gdb/gdb_select.h
@@ -22,6 +22,8 @@
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
+#else
+#include <sys/time.h>
#endif
#ifdef USE_WIN32API