patches for openssl
[buildroot.git] / package / openssl / openssl-0.9.8h-00-timeb.patch
blob2da8d395a46ec7e9c890ea6b3fe01465389d73c2
1 diff -rdup openssl-0.9.8h.orig/apps/speed.c openssl-0.9.8h/apps/speed.c
2 --- openssl-0.9.8h.orig/apps/speed.c 2007-11-15 14:33:47.000000000 +0100
3 +++ openssl-0.9.8h/apps/speed.c 2008-06-07 23:38:44.000000000 +0200
4 @@ -117,6 +117,14 @@
5 # define TIMEB
6 #endif
8 +#if defined __UCLIBC__
9 +# if defined __UCLIBC_SUSV3_LEGACY__
10 +# define TIMEB
11 +# else
12 +# undef TIMEB
13 +# endif
14 +#endif
16 #if defined(OPENSSL_SYS_NETWARE)
17 #undef TIMES
18 #undef TIMEB