From 8b79b3af99b12a9ed85b9e6032bd8ae2acafb17c Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sun, 30 Jun 2019 10:11:37 +0200 Subject: [PATCH] Fix compilation errors in clang. --- include/ftxui/component/event.hpp | 3 ++- src/ftxui/component/screen_interactive.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/ftxui/component/event.hpp b/include/ftxui/component/event.hpp index 0c13f52..69607c5 100644 --- a/include/ftxui/component/event.hpp +++ b/include/ftxui/component/event.hpp @@ -2,8 +2,9 @@ #define FTXUI_COMPONENT_EVENT_HPP #include -#include #include +#include +#include namespace ftxui { diff --git a/src/ftxui/component/screen_interactive.cpp b/src/ftxui/component/screen_interactive.cpp index a25017c..6df16c3 100644 --- a/src/ftxui/component/screen_interactive.cpp +++ b/src/ftxui/component/screen_interactive.cpp @@ -24,7 +24,7 @@ void OnExit(int signal) { } if (signal == SIGINT) - std::quick_exit(SIGINT); + quick_exit(SIGINT); } ScreenInteractive::ScreenInteractive(int dimx,