diff options
author | John Crispin <john@openwrt.org> | 2015-03-12 19:50:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-12 19:50:23 +0000 |
commit | eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0 (patch) | |
tree | 872d9c62f7112942e6632e9f555c3d7eafa0f61f /package/utils/busybox/patches/250-date-k-flag.patch | |
parent | a7d642779626eec3fb146e49100e1695ecd5846e (diff) | |
download | upstream-eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0.tar.gz upstream-eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0.tar.bz2 upstream-eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0.zip |
busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
SVN-Revision: 44700
Diffstat (limited to 'package/utils/busybox/patches/250-date-k-flag.patch')
-rw-r--r-- | package/utils/busybox/patches/250-date-k-flag.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/patches/250-date-k-flag.patch b/package/utils/busybox/patches/250-date-k-flag.patch index d17d61f978..f0dab26898 100644 --- a/package/utils/busybox/patches/250-date-k-flag.patch +++ b/package/utils/busybox/patches/250-date-k-flag.patch @@ -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); |