summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-07 10:20:42 +0000
committerJim Meyering <jim@meyering.net>2003-06-07 10:20:42 +0000
commit0db39dc64d3d4988f7648d0b4111c6932caa0da5 (patch)
tree41abc38c9bd91ebd08b4e72766bd1cddcdb96b49 /lib
parent465e39e101ab7a72596a9dbcbcf4c482cbae2af9 (diff)
downloadcoreutils-0db39dc64d3d4988f7648d0b4111c6932caa0da5.tar.xz
Include alloca.h unconditionally.
Diffstat (limited to 'lib')
-rw-r--r--lib/getdate.y7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 1b5148b41..3c4a04000 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -1,6 +1,6 @@
%{
/* Parse a string into an internal time stamp.
- Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -27,11 +27,10 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
-# ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-# endif
#endif
+#include <alloca.h>
+
/* Since the code of getdate.y is not included in the Emacs executable
itself, there is no need to #define static in this file. Even if
the code were included in the Emacs executable, it probably