summaryrefslogtreecommitdiff
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-08 04:13:19 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-08 04:13:19 +0000
commit0941c32d38efef90cb3dafe463740b78329d1aa1 (patch)
treeac7748259e8c5731376a912004a76e59ab0b1c3d /include/asterisk/compat.h
parentebf04fc5709739a1ee8beaf14dca62c29135b46a (diff)
issue #5569 minus lock.h changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rwxr-xr-xinclude/asterisk/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index fb6a5d59f..139f4f81b 100755
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -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