mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 08:18:54 +00:00
12 lines
307 B
Diff
12 lines
307 B
Diff
--- a/scan/scan_httpdate.c
|
|
+++ b/scan/scan_httpdate.c
|
|
@@ -70,7 +70,7 @@
|
|
}
|
|
done:
|
|
x.tm_wday=x.tm_yday=x.tm_isdst=0;
|
|
-#if defined(__dietlibc__) || defined(__GLIBC__)
|
|
+#if defined(__dietlibc__) || defined(__GLIBC__) || defined(__ANDROID__)
|
|
*t=timegm(&x);
|
|
#elif defined(__MINGW32__)
|
|
*t=mktime(&x);
|