summaryrefslogtreecommitdiffstats
path: root/php-timelib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-timelib.patch')
-rw-r--r--php-timelib.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/php-timelib.patch b/php-timelib.patch
new file mode 100644
index 0000000..dd8d8cf
--- /dev/null
+++ b/php-timelib.patch
@@ -0,0 +1,30 @@
+diff --git a/timelib_private.h b/timelib_private.h
+index cd402e0..efc7c80 100644
+--- a/ext/date/lib/timelib_private.h
++++ b/ext/date/lib/timelib_private.h
+@@ -115,7 +115,7 @@
+ m = NULL; \
+ }
+
+-typedef struct ttinfo
++struct ttinfo
+ {
+ int32_t offset;
+ int isdst;
+@@ -123,13 +123,13 @@ typedef struct ttinfo
+
+ unsigned int isstdcnt;
+ unsigned int isgmtcnt;
+-} ttinfo;
++};
+
+-typedef struct tlinfo
++struct tlinfo
+ {
+ int32_t trans;
+ int32_t offset;
+-} tlinfo;
++};
+
+
+ #ifndef LONG_MAX