[Asterisk-cvs] asterisk/include/asterisk compat.h, 1.4, 1.5 utils.h, 1.50, 1.51

kpfleming kpfleming
Mon Nov 7 23:22:14 CST 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv15988/include/asterisk

Modified Files:
	compat.h utils.h 
Log Message:
issue #5569 minus lock.h changes


Index: compat.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/compat.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- compat.h	1 Nov 2005 21:53:30 -0000	1.4
+++ compat.h	8 Nov 2005 04:13:19 -0000	1.5
@@ -74,6 +74,10 @@
 #define HAVE_VASPRINTF
 #define HAVE_STRTOQ
 
+#ifdef _BSD_SOURCE
+#define HAVE_GETLOADAVG
+#endif
+
 #ifdef __linux__
 #define HAVE_STRCASESTR
 #define HAVE_STRNDUP

Index: utils.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/utils.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- utils.h	1 Nov 2005 20:09:09 -0000	1.50
+++ utils.h	8 Nov 2005 04:13:19 -0000	1.51
@@ -231,4 +231,8 @@
 */
 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 */




More information about the svn-commits mailing list