]> granicus.if.org Git - neomutt/commitdiff
docs: fix validation for lua
authorRichard Russon <rich@flatcap.org>
Sun, 12 Mar 2017 14:01:38 +0000 (14:01 +0000)
committerRichard Russon <rich@flatcap.org>
Sun, 12 Mar 2017 14:01:38 +0000 (14:01 +0000)
doc/makedoc-defs.h
init.h

index a4dab13e8d2430f115fcc88866781a4b628f4947..4e359369958269ca8b4ab701bb59304e805a6fdb 100644 (file)
@@ -64,4 +64,7 @@
 # ifndef USE_COMPRESSED
 #  define USE_COMPRESSED
 # endif
+# ifndef USE_LUA
+#  define USE_LUA
+# endif
 #endif
diff --git a/init.h b/init.h
index 70672a25272c1ee2f85e90690e2556aeb16c3940..f5d49b36290d7a71081f0535bb0ff13e28140089 100644 (file)
--- a/init.h
+++ b/init.h
 #else
 # include "sort.h"
 # include "mx.h"
+# ifdef USE_LUA
+#  include "mutt_lua.h"
+# endif
 #endif
 
-#ifdef USE_LUA
-#include "mutt_lua.h"
-#endif
 
 #include "buffy.h"