summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-05-08 13:57:54 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-05-08 13:57:54 +0100
commitea3fbfb0da560c22b7bd09a945f25bfd57cfb8d0 (patch)
tree9409df059097fe77f8167dfb8dfdc3716716ca25
parentAdd Nagios passive check helpers (diff)
downloadlibadhocutil-ea3fbfb0da560c22b7bd09a945f25bfd57cfb8d0.tar.bz2
libadhocutil-ea3fbfb0da560c22b7bd09a945f25bfd57cfb8d0.tar.xz
libadhocutil-ea3fbfb0da560c22b7bd09a945f25bfd57cfb8d0.zip
Fix for compile with GCC 10libadhocutil-0.7.8
-rw-r--r--libadhocutil/Jamfile.jam1
-rw-r--r--libadhocutil/plugins.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libadhocutil/Jamfile.jam b/libadhocutil/Jamfile.jam
index ccacb6b..ec19227 100644
--- a/libadhocutil/Jamfile.jam
+++ b/libadhocutil/Jamfile.jam
@@ -26,6 +26,7 @@ lib adhocutil :
<library>curl
<library>..//glibmm
<library>dl
+ <library>pthread
<implicit-dependency>gen
: :
<include>.
diff --git a/libadhocutil/plugins.h b/libadhocutil/plugins.h
index ce3447a..db40d1f 100644
--- a/libadhocutil/plugins.h
+++ b/libadhocutil/plugins.h
@@ -8,6 +8,7 @@
#include <set>
#include <map>
#include <algorithm>
+#include <stdexcept>
#include "visibility.h"
#include "unique.h"