summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/nixio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/nixio.c')
-rw-r--r--libs/nixio/src/nixio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/nixio/src/nixio.c b/libs/nixio/src/nixio.c
index 3086b978b..f6e8e184c 100644
--- a/libs/nixio/src/nixio.c
+++ b/libs/nixio/src/nixio.c
@@ -142,9 +142,12 @@ NIXIO_API int luaopen_nixio(lua_State *L) {
nixio_open_bin(L);
nixio_open_fs(L);
nixio_open_user(L);
+
+#ifndef NO_TLS
nixio_open_tls_crypto(L);
nixio_open_tls_context(L);
nixio_open_tls_socket(L);
+#endif
/* module version */
lua_pushinteger(L, VERSION);