summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-29 22:09:13 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-29 22:09:13 +0100
commitf8bccfbb602bdbed4bcc00fd3c6c3a00add82416 (patch)
treea47f1b5d3e85e01357d12018f1c037b89d9bb4a5
parentce327e34da10ef8722f06255f0060d6e4d1866ab (diff)
add macro to check 0-terminated string messages, and fix FTBFS
-rw-r--r--src/include/gnunet_transport_communication_service.h1
-rw-r--r--src/transport/gnunet-communicator-unix.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h
index 8a0f0fcd5..f81ee6d9a 100644
--- a/src/include/gnunet_transport_communication_service.h
+++ b/src/include/gnunet_transport_communication_service.h
@@ -42,6 +42,7 @@ extern "C"
#endif
#include "gnunet_util_lib.h"
+#include "gnunet_nt_lib.h"
/**
* Version number of the transport communication API.
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c
index 552b032dd..e8a1cf0b2 100644
--- a/src/transport/gnunet-communicator-unix.c
+++ b/src/transport/gnunet-communicator-unix.c
@@ -27,6 +27,7 @@
#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_protocols.h"
+#include "gnunet_constants.h"
#include "gnunet_nt_lib.h"
#include "gnunet_statistics_service.h"
#include "gnunet_transport_communication_service.h"