mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-14 22:08:28 +00:00
issue #5569 minus lock.h changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -74,6 +74,10 @@ int unsetenv(const char *name);
|
||||
#define HAVE_VASPRINTF
|
||||
#define HAVE_STRTOQ
|
||||
|
||||
#ifdef _BSD_SOURCE
|
||||
#define HAVE_GETLOADAVG
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#define HAVE_STRCASESTR
|
||||
#define HAVE_STRNDUP
|
||||
|
||||
@@ -231,4 +231,8 @@ int ast_pthread_create_stack(pthread_t *thread, pthread_attr_t *attr, void *(*st
|
||||
*/
|
||||
char *ast_process_quotes_and_slashes(char *start, char find, char replace_with);
|
||||
|
||||
#ifndef HAVE_GETLOADAVG
|
||||
int getloadavg(double *list, int nelem);
|
||||
#endif
|
||||
|
||||
#endif /* _ASTERISK_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user