summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-02-07 01:09:08 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-02-07 19:46:57 +0000
commitb1870050dac428bc65d8326827fc1a8aad055c8e (patch)
tree6fbe24e6b499982086535c5c59bbead07339db84
parentNew standard ice install path (diff)
downloadlibadhocutil-b1870050dac428bc65d8326827fc1a8aad055c8e.tar.bz2
libadhocutil-b1870050dac428bc65d8326827fc1a8aad055c8e.tar.xz
libadhocutil-b1870050dac428bc65d8326827fc1a8aad055c8e.zip
Bump iwyu path and fix includes accordingly
-rw-r--r--iwyu.json2
-rw-r--r--libadhocutil/curlMultiHandle.cpp1
-rw-r--r--libadhocutil/unittests/testCache.cpp1
-rw-r--r--libadhocutil/unittests/testOptionals.cpp1
4 files changed, 3 insertions, 2 deletions
diff --git a/iwyu.json b/iwyu.json
index e4af14b..3665040 100644
--- a/iwyu.json
+++ b/iwyu.json
@@ -144,6 +144,6 @@
]
},
{
- "ref": "/usr/lib/llvm/12/share/include-what-you-use/boost-all-private.imp"
+ "ref": "/usr/lib/llvm/13/share/include-what-you-use/boost-all-private.imp"
}
]
diff --git a/libadhocutil/curlMultiHandle.cpp b/libadhocutil/curlMultiHandle.cpp
index 49a58b3..df0332a 100644
--- a/libadhocutil/curlMultiHandle.cpp
+++ b/libadhocutil/curlMultiHandle.cpp
@@ -5,7 +5,6 @@
#include <boost/iostreams/stream.hpp>
#include <map>
#include <sys/select.h>
-#include <sys/time.h>
#include <utility>
namespace AdHoc::Net {
diff --git a/libadhocutil/unittests/testCache.cpp b/libadhocutil/unittests/testCache.cpp
index 9144a51..2250347 100644
--- a/libadhocutil/unittests/testCache.cpp
+++ b/libadhocutil/unittests/testCache.cpp
@@ -2,6 +2,7 @@
#include <boost/test/unit_test.hpp>
#include "cache.impl.h"
+#include <boost/multi_index_container.hpp>
#include <ctime>
#include <memory>
#include <mutex> // IWYU pragma: keep
diff --git a/libadhocutil/unittests/testOptionals.cpp b/libadhocutil/unittests/testOptionals.cpp
index 2ce7cd7..4404568 100644
--- a/libadhocutil/unittests/testOptionals.cpp
+++ b/libadhocutil/unittests/testOptionals.cpp
@@ -5,6 +5,7 @@
#include <optional>
#include <optionalUtils.h>
#include <string>
+#include <type_traits>
using namespace AdHoc;