summaryrefslogtreecommitdiff
path: root/louloulibs/network/resolver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/resolver.hpp')
-rw-r--r--louloulibs/network/resolver.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/louloulibs/network/resolver.hpp b/louloulibs/network/resolver.hpp
index f516da5..800c7ec 100644
--- a/louloulibs/network/resolver.hpp
+++ b/louloulibs/network/resolver.hpp
@@ -10,7 +10,9 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
-#include <udns.h>
+#ifdef UDNS_FOUND
+# include <udns.h>
+#endif
class AddrinfoDeleter
{