summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Mazieres <dm@uun.org>2017-07-08 11:30:14 -0700
committerDavid Mazieres <dm@uun.org>2017-07-08 11:30:14 -0700
commit62e3c88898867451a348749403f5b50f55421a65 (patch)
treeddf33d180579ca808121ee1baec5426cf1805ce1
parent3c16f97fa5e1fabc94be03d6495c2f09e1dca7de (diff)
fix for gcc 7
-rw-r--r--NEWS2
-rw-r--r--infinibuf.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cc549e7..44f8e37 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+Updated for GCC 7 header changes (thanks Toke Høiland-Jørgensen).
+
* Changes in release 3
Cleaned up a few compilation warnings.
diff --git a/infinibuf.cc b/infinibuf.cc
index e71ddba..b7640aa 100644
--- a/infinibuf.cc
+++ b/infinibuf.cc
@@ -2,6 +2,7 @@
#include <cassert>
#include <cstring>
#include <iostream>
+#include <functional>
#include <streambuf>
#include <fcntl.h>
#include <unistd.h>