aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
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