Merge pull request #15 from ffontaine/master

src/uhttpd.c: fix build without dlopen
This commit is contained in:
Jianhui Zhao authored and GitHub committed 2021-01-18 15:15:24 +08:00
commit d659ff4e0e
1 file changed
+1 -1
+1 -1
View File
@@ -152,8 +152,8 @@ static int uh_server_ssl_init(struct uh_server *srv, const char *cert, const cha
static int uh_load_plugin(struct uh_server *srv, const char *path)
{
struct uh_server_internal *srvi = (struct uh_server_internal *)srv;
#ifdef HAVE_DLOPEN
struct uh_server_internal *srvi = (struct uh_server_internal *)srv;
struct uh_plugin_handler *h;
struct uh_plugin *p;
void *dlh;