aboutsummaryrefslogtreecommitdiffstats
path: root/testing/at/10-parsetime.y-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/at/10-parsetime.y-1.patch')
-rw-r--r--testing/at/10-parsetime.y-1.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/at/10-parsetime.y-1.patch b/testing/at/10-parsetime.y-1.patch
index 33e3da2f94..9e8a33234e 100644
--- a/testing/at/10-parsetime.y-1.patch
+++ b/testing/at/10-parsetime.y-1.patch
@@ -1,12 +1,14 @@
---- at-3.1.16/parsetime.orig.y
-+++ at-3.1.16/parsetime.y
-@@ -17,6 +17,9 @@
+--- parsetime.orig.y
++++ parsetime.y
+@@ -17,6 +17,11 @@
extern int yylex();
int add_date(int number, int period);
++
+#ifndef __isleap
+#define __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
+#endif
++
%}
%union {