| 1 |
$FreeWRT$ |
| 2 |
|
| 3 |
not for upstream submission |
| 4 |
|
| 5 |
--- asterisk-1.2.22.orig/utils.c 2007-02-26 01:34:31.000000000 +0100 |
| 6 |
+++ asterisk-1.2.22/utils.c 2007-07-19 00:48:12.000000000 +0200 |
| 7 |
@@ -837,7 +837,6 @@ uint64_t strtoq(const char *nptr, char * |
| 8 |
} |
| 9 |
#endif /* !HAVE_STRTOQ */ |
| 10 |
|
| 11 |
-#ifndef HAVE_GETLOADAVG |
| 12 |
#ifdef linux |
| 13 |
/* Alternative method of getting load avg on Linux only */ |
| 14 |
int getloadavg(double *list, int nelem) |
| 15 |
@@ -871,7 +870,6 @@ int getloadavg(double *list, int nelem) |
| 16 |
return -1; |
| 17 |
} |
| 18 |
#endif /* linux */ |
| 19 |
-#endif /* !defined(_BSD_SOURCE) */ |
| 20 |
|
| 21 |
char *ast_process_quotes_and_slashes(char *start, char find, char replace_with) |
| 22 |
{ |