diff --git a/src/misc/httpd.c b/src/misc/httpd.c
index 59bf6c0e8d60325f9456fb9de0b94898de2e2934..870000555ee558d82e6819958de4aac8713940ba 100644
--- a/src/misc/httpd.c
+++ b/src/misc/httpd.c
@@ -2558,6 +2558,12 @@ static int GetAddrPort( const struct sockaddr_storage *p_ss )
 #else /* ENABLE_HTTPD */
 
 /* We just define an empty wrapper */
+httpd_host_t *httpd_TLSHostNew( vlc_object_t *a, char *b, int c,
+                                tls_server_t *d )
+{
+    msg_Err( a, "HTTP daemon support is disabled" );
+    return 0;
+}
 httpd_host_t *httpd_HostNew( vlc_object_t *a, char *b, int c )
 {
     msg_Err( a, "HTTP daemon support is disabled" );