diff options
author | David Mazieres <dm@uun.org> | 2017-07-08 11:30:14 -0700 |
---|---|---|
committer | David Mazieres <dm@uun.org> | 2017-07-08 11:30:14 -0700 |
commit | 62e3c88898867451a348749403f5b50f55421a65 (patch) | |
tree | ddf33d180579ca808121ee1baec5426cf1805ce1 | |
parent | 3c16f97fa5e1fabc94be03d6495c2f09e1dca7de (diff) |
fix for gcc 7
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | infinibuf.cc | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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> |