summaryrefslogtreecommitdiffstats
path: root/source/modules/getdate.y
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/getdate.y')
-rw-r--r--source/modules/getdate.y9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/modules/getdate.y b/source/modules/getdate.y
index ecae7311ac8..aab37f4d235 100644
--- a/source/modules/getdate.y
+++ b/source/modules/getdate.y
@@ -25,10 +25,11 @@
the right thing about local DST. Unlike previous versions, this
version is reentrant. */
-#include <config.h>
-
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+# ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+# endif
#endif
/* Since the code of getdate.y is not included in the Emacs executable