[RFC 06/17] Include in event-loop.c

Tom Tromey
2019-02-24T16:51:59Z

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
2019-02-24 Tom Tromey <tom@tromey.com>

* event-loop.c: Include <chrono>.
---
gdb/ChangeLog | 4 ++++
gdb/event-loop.c | 2 ++
2 files changed, 6 insertions(+)

diff --git a/gdb/event-loop.c b/gdb/event-loop.c
index 41ac5802703..496111a01c6 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -21,6 +21,8 @@
#include "event-loop.h"
#include "ser-event.h"

+#include <chrono>
+
#ifdef HAVE_POLL
#if defined (HAVE_POLL_H)
#include <poll.h>
--
2.17.2