5ddde4508dff81e5bcf586de2082a88006dacbd8
[packages.git] / net / asterisk / patches / 09-compat-getloadavg.patch
1 diff -Nru asterisk-1.2.14.org/include/asterisk/compat.h asterisk-1.2.14/include/asterisk/compat.h
2 --- asterisk-1.2.14.org/include/asterisk/compat.h       2005-11-29 19:24:39.000000000 +0100
3 +++ asterisk-1.2.14/include/asterisk/compat.h   2006-12-27 09:07:28.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__