src/coap_notls.c: Include ignoring GnuTLS builds

This commit is contained in:
Jon Shallow committed 2018-11-27 11:42:21 +00:00
1 parent 11de84bcc7
commit d144a1d5b0
1 file changed
+3 -3
+3 -3
View File
@@ -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 */