Include <chrono> in event-loop.c
authorTom Tromey <tom@tromey.com>
Mon, 13 Apr 2020 18:42:59 +0000 (12:42 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 13 Apr 2020 20:10:03 +0000 (14:10 -0600)
Include <chrono> in event-loop.c, because it is used there.  Currently
it is included indirectly, but after the subsequent patches this will
no longer be the case.

gdb/ChangeLog
2020-04-13  Tom Tromey  <tom@tromey.com>

* event-loop.c: Include <chrono>.

gdb/ChangeLog
gdb/event-loop.c

index d8be389e01a51dc751740d3cc317deb744577ee2..508a5517f95f8d37b3b7694dc61448939de60257 100644 (file)
@@ -1,3 +1,7 @@
+2020-04-13  Tom Tromey  <tom@tromey.com>
+
+       * event-loop.c: Include <chrono>.
+
 2020-04-13  Tom Tromey  <tom@tromey.com>
 
        * gdb_select.h: Move to ../gdbsupport/.
index ae9d27eedd78671cdef383e557b5990c722ba16f..880fc30d9d6fa4b4d8488a89b4c94839401604b6 100644 (file)
@@ -22,6 +22,8 @@
 #include "event-top.h"
 #include "ser-event.h"
 
+#include <chrono>
+
 #ifdef HAVE_POLL
 #if defined (HAVE_POLL_H)
 #include <poll.h>