summaryrefslogtreecommitdiff
path: root/source3/modules/getdate.y
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/getdate.y')
-rw-r--r--source3/modules/getdate.y9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/modules/getdate.y b/source3/modules/getdate.y
index ecae7311ac..aab37f4d23 100644
--- a/source3/modules/getdate.y
+++ b/source3/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