diff options
Diffstat (limited to 'system/at/10-parsetime.y-1.patch')
-rw-r--r-- | system/at/10-parsetime.y-1.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/at/10-parsetime.y-1.patch b/system/at/10-parsetime.y-1.patch new file mode 100644 index 000000000..3eb0549e3 --- /dev/null +++ b/system/at/10-parsetime.y-1.patch @@ -0,0 +1,14 @@ +--- ./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 { |