Browse Source

lua_State has to be put into the #ifdef too

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1309 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.12
Jan Kneschke 15 years ago
parent
commit
404f81e63b
  1. 5
      src/mod_magnet_cache.h

5
src/mod_magnet_cache.h

@ -6,16 +6,12 @@
#ifdef HAVE_LUA_H
#include <lua.h>
#endif
typedef struct {
buffer *name;
buffer *etag;
#ifdef HAVE_LUA_H
lua_State *L;
#endif
time_t last_used; /* LRU */
} script;
@ -34,3 +30,4 @@ lua_State *script_cache_get_script(server *srv, connection *con,
script_cache *cache, buffer *name);
#endif
#endif

Loading…
Cancel
Save