public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Include <chrono> in event-loop.c
@ 2020-04-13 21:10 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2020-04-13 21:10 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=98029d02d7238c75df42030b819e7961c8aacb18
commit 98029d02d7238c75df42030b819e7961c8aacb18
Author: Tom Tromey <tom@tromey.com>
Date: Mon Apr 13 12:42:59 2020 -0600
Include <chrono> in event-loop.c
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>.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/event-loop.c | 2 ++
2 files changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d8be389e01a..508a5517f95 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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/.
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-13 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 21:10 [binutils-gdb] Include <chrono> in event-loop.c Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).