aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 15:00:06 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 18:08:32 +0200
commitcee87473adb609aff52c12cff174fd2ad58f5d1d (patch)
tree5e8cd91476489a01e35199602f347305bdfe08de /src
parentadded static build dependency instructions to README (diff)
downloadmonero-cee87473adb609aff52c12cff174fd2ad58f5d1d.tar.xz
build libunbound from external if no local libunbound or for static builds
Diffstat (limited to 'src')
-rw-r--r--src/common/dns_utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp
index 8c4038568..d21b538a6 100644
--- a/src/common/dns_utils.cpp
+++ b/src/common/dns_utils.cpp
@@ -29,7 +29,8 @@
#include "common/dns_utils.h"
#include <cstring>
#include <sstream>
-#include <unbound.h>
+// check local first (in the event of static or in-source compilation of libunbound)
+#include "unbound.h"
#include <stdlib.h>
#include "include_base_utils.h"