Merge pull request #15 from ffontaine/master

src/uhttpd.c: fix build without dlopen
main^2
Jianhui Zhao 2021-01-18 15:15:24 +08:00 committed by GitHub
commit d659ff4e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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) 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 #ifdef HAVE_DLOPEN
struct uh_server_internal *srvi = (struct uh_server_internal *)srv;
struct uh_plugin_handler *h; struct uh_plugin_handler *h;
struct uh_plugin *p; struct uh_plugin *p;
void *dlh; void *dlh;