update asterisk to new upstream release (v1.2.1)
[openwrt.git] / openwrt / package / asterisk / patches / asterisk-1.2.0-compat-getloadavg.patch
1 diff -ruN asterisk-1.2.0-old/include/asterisk/compat.h asterisk-1.2.0-new/include/asterisk/compat.h
2 --- asterisk-1.2.0-old/include/asterisk/compat.h        2005-11-08 05:13:19.000000000 +0100
3 +++ asterisk-1.2.0-new/include/asterisk/compat.h        2005-12-04 05:32:31.000000000 +0100
4 @@ -75,7 +75,9 @@
5  #define HAVE_STRTOQ
6  
7  #ifdef _BSD_SOURCE
8 +#ifndef __UCLIBC__
9  #define HAVE_GETLOADAVG
10 +#endif /* __UCLIBC__ */
11  #endif
12  
13  #ifdef __linux__