From d144a1d5b06a8ec9870eeff967c7f75291a85bb1 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Sat, 24 Nov 2018 21:34:38 +0000 Subject: [PATCH] src/coap_notls.c: Include ignoring GnuTLS builds --- src/coap_notls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/coap_notls.c b/src/coap_notls.c index 2d6c8ed8..6bda0fd6 100644 --- a/src/coap_notls.c +++ b/src/coap_notls.c @@ -9,7 +9,7 @@ #include "coap_config.h" -#if !defined(HAVE_LIBTINYDTLS) && !defined(HAVE_OPENSSL) +#if !defined(HAVE_LIBTINYDTLS) && !defined(HAVE_OPENSSL) && !defined(HAVE_LIBGNUTLS) #include "net.h" @@ -175,7 +175,7 @@ ssize_t coap_tls_read(coap_session_t *session UNUSED, #undef UNUSED -#else /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL */ +#else /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL && !HAVE_LIBGNUTLS */ #ifdef __clang__ /* Make compilers happy that do not like empty modules. As this function is @@ -186,4 +186,4 @@ ssize_t coap_tls_read(coap_session_t *session UNUSED, static inline void dummy(void) { } -#endif /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL */ +#endif /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL && !HAVE_LIBGNUTLS */