aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/BufferedSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/BufferedSocket.cxx')
-rw-r--r--src/event/BufferedSocket.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event/BufferedSocket.cxx b/src/event/BufferedSocket.cxx
index 92e350e85..0f71bd941 100644
--- a/src/event/BufferedSocket.cxx
+++ b/src/event/BufferedSocket.cxx
@@ -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)