busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org> SVN-Revision: 44700
This commit is contained in:
parent
a7d6427796
commit
eff1859f8e
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
||||||
+ settimeofday(NULL, &tz);
|
+ settimeofday(NULL, &tz);
|
||||||
+
|
+
|
||||||
+ memset(&tz, 0, sizeof(tz));
|
+ memset(&tz, 0, sizeof(tz));
|
||||||
+#ifdef __USE_BSD
|
+#ifdef __USE_MISC
|
||||||
+ tz.tz_minuteswest = -(tm_time.tm_gmtoff / 60);
|
+ tz.tz_minuteswest = -(tm_time.tm_gmtoff / 60);
|
||||||
+#else
|
+#else
|
||||||
+ tz.tz_minuteswest = -(tm_time.__tm_gmtoff / 60);
|
+ tz.tz_minuteswest = -(tm_time.__tm_gmtoff / 60);
|
||||||
|
|
Loading…
Reference in a new issue