[PATCH v2 04/12] Include <chrono> in event-loop.c
Tom Tromey
tom@tromey.com
Sat Mar 14 18:51:50 GMT 2020
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-03-14 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 ae9d27eedd7..880fc30d9d6 100644
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -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>
--
2.17.2
More information about the Gdb-patches
mailing list