projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uhttpd: fix building without TLS and Lua support
[project/uhttpd.git]
/
main.c
diff --git
a/main.c
b/main.c
index 822c74868708173cebad4f56add3063922bce94e..6c29afe0d06facf7d885921250fc09e48b131afa 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-220,6
+220,7
@@
static void fixup_prefix(char *str)
str[len + 1] = 0;
}
+#ifdef HAVE_LUA
static void add_lua_prefix(const char *prefix, const char *handler) {
struct lua_prefix *p;
char *pprefix, *phandler;
@@
-236,6
+237,7
@@
static void add_lua_prefix(const char *prefix, const char *handler) {
list_add_tail(&p->list, &conf.lua_prefix);
}
+#endif
int main(int argc, char **argv)
{