[RFC,06/17] Include <chrono> in event-loop.c
Commit Message
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(+)
Comments
On 2/24/19 4:51 PM, Tom Tromey wrote:
> 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>.
OK.
Thanks,
Pedro Alves
@@ -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>