aboutsummaryrefslogtreecommitdiffhomepage
path: root/iothread.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 /iothread.cpp
parent30ea4fc416c533e9ca3c1fb464e08c004946de00 (diff)
Initial pass with Include What You Use
Diffstat (limited to 'iothread.cpp')
-rw-r--r--iothread.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/iothread.cpp b/iothread.cpp
index 920d2aae..7a37b63b 100644
--- a/iothread.cpp
+++ b/iothread.cpp
@@ -1,16 +1,17 @@
-#include "config.h"
+#include "config.h" // IWYU pragma: keep
#include "iothread.h"
#include "common.h"
#include <pthread.h>
#include <assert.h>
-#include <errno.h>
#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
+#include <limits.h> // IWYU pragma: keep - for _POSIX_THREADS_MAX, suggests internal header
+#include <sys/select.h>
+#include <sys/time.h>
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
#include <queue>
+#include <algorithm>
#ifdef _POSIX_THREAD_THREADS_MAX
#if _POSIX_THREAD_THREADS_MAX < 64