--- asterisk-1.2.1/include/asterisk/compat.h.orig 2005-12-20 23:04:56 +0000 +++ asterisk-1.2.1/include/asterisk/compat.h 2005-12-20 23:05:19 +0000 @@ -74,7 +74,7 @@ #define HAVE_VASPRINTF #define HAVE_STRTOQ -#ifdef _BSD_SOURCE +#if defined(_BSD_SOURCE) && !defined(__UCLIBC__) #define HAVE_GETLOADAVG #endif