aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.cpp
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2015-07-25 23:14:25 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2015-07-25 23:53:32 +0800
commit78162a2a1343a7caff3d43f457daa87475e6b926 (patch)
tree5202c4b2c21b80822bf07282df2e25ad336812f9 /event.cpp
parent30ea4fc416c533e9ca3c1fb464e08c004946de00 (diff)
Initial pass with Include What You Use
Diffstat (limited to 'event.cpp')
-rw-r--r--event.cpp19
1 files changed, 7 insertions, 12 deletions
diff --git a/event.cpp b/event.cpp
index 14def5f4..eeff3eb5 100644
--- a/event.cpp
+++ b/event.cpp
@@ -3,28 +3,23 @@
Functions for handling event triggers
*/
-#include "config.h"
+#include "config.h" // IWYU pragma: keep
-#include <stdlib.h>
-#include <stdio.h>
-#include <wchar.h>
-#include <unistd.h>
-#include <termios.h>
#include <signal.h>
-#include <string.h>
#include <algorithm>
+#include <assert.h>
+#include <stddef.h>
+#include <string>
-#include "fallback.h"
-#include "util.h"
-
-#include "wutil.h"
-#include "function.h"
+#include "fallback.h" // IWYU pragma: keep
+#include "wutil.h" // IWYU pragma: keep - needed for gettext
#include "input_common.h"
#include "proc.h"
#include "parser.h"
#include "common.h"
#include "event.h"
#include "signal.h"
+#include "io.h"
/**