summaryrefslogtreecommitdiff
path: root/src/mod_magnet_cache.h
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-09-15 15:32:18 +0000
committerJan Kneschke <jan@kneschke.de>2006-09-15 15:32:18 +0000
commit404f81e63b620a29303dcdea9ded3dc6e95bfedc (patch)
treec2924acc440a38b1161551066a13e243ab0ebced /src/mod_magnet_cache.h
parent4b8905d4b4f29178eb23402634969ab56af6036f (diff)
downloadlighttpd-git-404f81e63b620a29303dcdea9ded3dc6e95bfedc.tar.gz
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
Diffstat (limited to 'src/mod_magnet_cache.h')
-rw-r--r--src/mod_magnet_cache.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mod_magnet_cache.h b/src/mod_magnet_cache.h
index e3dff952..50c9e44a 100644
--- a/src/mod_magnet_cache.h
+++ b/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