mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
dlfcn h only if plugins
Signed-off-by: None <andy@warmcat.com>
This commit is contained in:
parent
014481e912
commit
ca44730b36
2 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
||||
#ifdef LWS_WITH_PLUGINS
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
|
||||
|
||||
|
|
|
@ -2543,7 +2543,7 @@ lws_chunked_html_process(struct lws_process_html_args *args,
|
|||
}
|
||||
|
||||
if ((!s->pos && *sp == '$') || s->pos) {
|
||||
int hits = 0, hit;
|
||||
int hits = 0, hit = 0;
|
||||
|
||||
if (!s->pos)
|
||||
s->start = sp;
|
||||
|
|
Loading…
Add table
Reference in a new issue