From ba30eb7a57f3561eec8f24e36901847e5e13753f Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 8 May 2018 11:56:25 +0200 Subject: ipcpd: Include ipcp-dev header in DHT The DHT called ipcp_sdb_release without including ipcp-dev, causing compiler errors on some machines. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- CMakeLists.txt | 2 +- src/ipcpd/normal/dht.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3502504e..fddff4d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ include(GNUInstallDirs) set(PACKAGE_VERSION_MAJOR 0) set(PACKAGE_VERSION_MINOR 11) -set(PACKAGE_VERSION_PATCH 4) +set(PACKAGE_VERSION_PATCH 5) set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}") set(PACKAGE_DESCRIPTION "The Ouroboros prototype") diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c index faf3a35e..59451d19 100644 --- a/src/ipcpd/normal/dht.c +++ b/src/ipcpd/normal/dht.c @@ -28,6 +28,7 @@ #define OUROBOROS_PREFIX DHT #include +#include #include #include #include @@ -2736,7 +2737,6 @@ static void handle_event(void * self, if (dht_set_state(dht, DHT_JOINING) == 0 || dht_wait_running(dht)) { - log_dbg("creating join thread."); if (pthread_create(&thr, NULL, join_thr, inf)) { dht_set_state(dht, DHT_INIT); free(inf); -- cgit v1.2.3