add macro to check 0-terminated string messages, and fix FTBFS
authorChristian Grothoff <christian@grothoff.org>
Thu, 29 Nov 2018 21:09:13 +0000 (22:09 +0100)
committerChristian Grothoff <christian@grothoff.org>
Thu, 29 Nov 2018 21:09:13 +0000 (22:09 +0100)
src/include/gnunet_transport_communication_service.h
src/transport/gnunet-communicator-unix.c

index 8a0f0fcd54173a6a646a861453fc958290767856..f81ee6d9a7abf797ebb00b7ce5ea5fdeb86c8c55 100644 (file)
@@ -42,6 +42,7 @@ extern "C"
 #endif
 
 #include "gnunet_util_lib.h"
+#include "gnunet_nt_lib.h"
 
 /**
  * Version number of the transport communication API.
index 552b032ddc83e38105fe013657cd5ddc90053145..e8a1cf0b20e8e6698962fb18fe1c26bb92274a6b 100644 (file)
@@ -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"