aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_file.y')
-rw-r--r--src/cfg_file.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_file.y b/src/cfg_file.y
index a12e047c4..5cd98e9fc 100644
--- a/src/cfg_file.y
+++ b/src/cfg_file.y
@@ -385,7 +385,7 @@ requirebody:
requirecmd:
MODULE EQSIGN QUOTEDSTRING {
-#ifndef WITHOUT_PERL
+#if !defined(WITHOUT_PERL) || defined(WITH_LUA)
struct stat st;
struct perl_module *cur;
if (stat ($3, &st) == -1) {