diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-29 22:09:13 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-29 22:09:13 +0100 |
commit | f8bccfbb602bdbed4bcc00fd3c6c3a00add82416 (patch) | |
tree | a47f1b5d3e85e01357d12018f1c037b89d9bb4a5 | |
parent | ce327e34da10ef8722f06255f0060d6e4d1866ab (diff) | |
download | gnunet-f8bccfbb602bdbed4bcc00fd3c6c3a00add82416.tar.gz gnunet-f8bccfbb602bdbed4bcc00fd3c6c3a00add82416.zip |
add macro to check 0-terminated string messages, and fix FTBFS
-rw-r--r-- | src/include/gnunet_transport_communication_service.h | 1 | ||||
-rw-r--r-- | src/transport/gnunet-communicator-unix.c | 1 |
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" | |||
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #include "gnunet_util_lib.h" | 44 | #include "gnunet_util_lib.h" |
45 | #include "gnunet_nt_lib.h" | ||
45 | 46 | ||
46 | /** | 47 | /** |
47 | * Version number of the transport communication API. | 48 | * 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 @@ | |||
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
29 | #include "gnunet_protocols.h" | 29 | #include "gnunet_protocols.h" |
30 | #include "gnunet_constants.h" | ||
30 | #include "gnunet_nt_lib.h" | 31 | #include "gnunet_nt_lib.h" |
31 | #include "gnunet_statistics_service.h" | 32 | #include "gnunet_statistics_service.h" |
32 | #include "gnunet_transport_communication_service.h" | 33 | #include "gnunet_transport_communication_service.h" |