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 15:00:06 +0200
commit59172ee125ec916bbd43e97acc18b6aa7354c97a (patch)
tree5e8cd91476489a01e35199602f347305bdfe08de /src
parentMerge branch 'master' of http://github.com/fluffypony/bitmonero (diff)
downloadmonero-59172ee125ec916bbd43e97acc18b6aa7354c97a.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"