- move to autoconf 2.52
[citadel.git] / citadel / parsedate.y
index b710129c04f9434a3fc909924458502358e8ad6f..b68ca4c24728c9c1c857386b92d135ae63a16307 100644 (file)
@@ -18,6 +18,9 @@
 /* SUPPRESS 593 on yyerrlab *//* Label was not used */
 /* SUPPRESS 593 on yynewstate *//* Label was not used */
 /* SUPPRESS 595 on yypvt *//* Automatic variable may be used before set */
+
+#include "sysdep.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
 # endif
 #endif
 
+#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
+#  include <memory.h>
+# endif
+# include <string.h>
+#endif
+#if HAVE_STRINGS_H
+# include <strings.h>
+#endif
+
 #include "parsedate.h"
 
 int date_lex(void);