mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d228cb877f
commit
a00f7e5cb5
@ -67,7 +67,7 @@
|
||||
+ settimeofday(NULL, &tz);
|
||||
+
|
||||
+ memset(&tz, 0, sizeof(tz));
|
||||
+#ifdef __USE_BSD
|
||||
+#ifdef __USE_MISC
|
||||
+ tz.tz_minuteswest = -(tm_time.tm_gmtoff / 60);
|
||||
+#else
|
||||
+ tz.tz_minuteswest = -(tm_time.__tm_gmtoff / 60);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user