summaryrefslogtreecommitdiff
path: root/gdb/gdb_select.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2008-08-10 18:41:32 +0000
committerPedro Alves <pedro@codesourcery.com>2008-08-10 18:41:32 +0000
commit46bbd407a12a31bca8b4a6b8e92e5696b7967dd7 (patch)
treee3e5cf80abfd84547aea2aa792e36138d89fc074 /gdb/gdb_select.h
parent153a2b7089a939310705b6c8a0f1de0a9854c9ce (diff)
downloadgdb-46bbd407a12a31bca8b4a6b8e92e5696b7967dd7.tar.gz
* 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 5bcdcf3016a..407ec9ab484 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