aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/resolve
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/resolve')
-rw-r--r--src/libcharon/plugins/resolve/Makefile.am2
-rw-r--r--src/libcharon/plugins/resolve/resolve_plugin.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcharon/plugins/resolve/Makefile.am b/src/libcharon/plugins/resolve/Makefile.am
index 879370857..68bc953d1 100644
--- a/src/libcharon/plugins/resolve/Makefile.am
+++ b/src/libcharon/plugins/resolve/Makefile.am
@@ -1,5 +1,5 @@
-INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libcharon
+INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra -I$(top_srcdir)/src/libcharon
AM_CFLAGS = -rdynamic \
-DRESOLV_CONF=\"${resolv_conf}\"
diff --git a/src/libcharon/plugins/resolve/resolve_plugin.c b/src/libcharon/plugins/resolve/resolve_plugin.c
index 4bc9a2ba8..502129593 100644
--- a/src/libcharon/plugins/resolve/resolve_plugin.c
+++ b/src/libcharon/plugins/resolve/resolve_plugin.c
@@ -16,7 +16,7 @@
#include "resolve_plugin.h"
#include "resolve_handler.h"
-#include <daemon.h>
+#include <hydra.h>
typedef struct private_resolve_plugin_t private_resolve_plugin_t;
@@ -41,7 +41,7 @@ struct private_resolve_plugin_t {
*/
static void destroy(private_resolve_plugin_t *this)
{
- lib->attributes->remove_handler(lib->attributes, &this->handler->handler);
+ hydra->attributes->remove_handler(hydra->attributes, &this->handler->handler);
this->handler->destroy(this->handler);
free(this);
}
@@ -55,7 +55,7 @@ plugin_t *resolve_plugin_create()
this->public.plugin.destroy = (void(*)(plugin_t*))destroy;
this->handler = resolve_handler_create();
- lib->attributes->add_handler(lib->attributes, &this->handler->handler);
+ hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
return &this->public.plugin;
}