include cleanup using iwyu

This commit is contained in:
Max Kellermann
2013-11-28 11:50:54 +01:00
parent 46bab7e4b9
commit f90abe9530
185 changed files with 114 additions and 338 deletions

View File

@@ -22,6 +22,9 @@
#include "system/SocketError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Compiler.h"
#include <algorithm>
BufferedSocket::ssize_t
BufferedSocket::DirectRead(void *data, size_t length)

View File

@@ -23,13 +23,13 @@
#include "check.h"
#include "SocketMonitor.hxx"
#include "util/FifoBuffer.hxx"
#include "Compiler.h"
#include <assert.h>
#include <stdint.h>
struct fifo_buffer;
class Error;
class EventLoop;
/**
* A #SocketMonitor specialization that adds an input buffer.

View File

@@ -23,6 +23,7 @@
#include "util/fifo_buffer.h"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Compiler.h"
#include <assert.h>
#include <stdint.h>

View File

@@ -24,7 +24,6 @@
#include "BufferedSocket.hxx"
#include "IdleMonitor.hxx"
#include "util/PeakBuffer.hxx"
#include "Compiler.h"
/**
* A #BufferedSocket specialization that adds an output buffer.

View File

@@ -21,6 +21,8 @@
#include "IdleMonitor.hxx"
#include "Loop.hxx"
#include <assert.h>
void
IdleMonitor::Cancel()
{

View File

@@ -34,6 +34,7 @@
#endif
#include <forward_list>
#include <iterator>
#include <assert.h>
#include <stdint.h>

View File

@@ -38,6 +38,7 @@
#include <glib.h>
#include <string>
#include <algorithm>
#include <sys/types.h>
#include <sys/stat.h>

View File

@@ -39,6 +39,8 @@
#include <algorithm>
#include <assert.h>
class SignalMonitor final : private SocketMonitor {
#ifdef USE_SIGNALFD
SignalFD fd;

View File

@@ -28,7 +28,6 @@
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#endif