summaryrefslogtreecommitdiff
path: root/omapip/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'omapip/test.c')
-rw-r--r--omapip/test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/omapip/test.c b/omapip/test.c
index 4bdefdec..ccd3c7a6 100644
--- a/omapip/test.c
+++ b/omapip/test.c
@@ -37,9 +37,10 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include <isc-dhcp/result.h>
+#include <omapip/result.h>
#include <sys/time.h>
#include <omapip/omapip.h>
+#include <omapip/isclib.h>
int main (int argc, char **argv)
{
@@ -47,6 +48,8 @@ int main (int argc, char **argv)
omapi_object_t *connection = (omapi_object_t*)0;
isc_result_t status;
+ dhcp_context_create();
+
omapi_init ();
if (argc > 1 && !strcmp (argv [1], "listen")) {