summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.2.18/uclibc-compat-getloadavg.patch
blob: a909513b1c8853c70af57e6b9f4843010f3493bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ruN asterisk-1.2.0-old/include/asterisk/compat.h asterisk-1.2.0-new/include/asterisk/compat.h
--- asterisk-1.2.0-old/include/asterisk/compat.h	2005-11-08 05:13:19.000000000 +0100
+++ asterisk-1.2.0-new/include/asterisk/compat.h	2005-12-04 05:32:31.000000000 +0100
@@ -75,7 +75,9 @@
 #define HAVE_STRTOQ
 
 #ifdef _BSD_SOURCE
+#ifndef __UCLIBC__
 #define HAVE_GETLOADAVG
+#endif /* __UCLIBC__ */
 #endif
 
 #ifdef __linux__