aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index afb290169..4ed0b7a5d 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -71,6 +71,7 @@ int unsetenv(const char *name);
#endif
#endif /* __CYGWIN__ */
+#define HAVE_ASPRINTF
#define HAVE_VASPRINTF
#define HAVE_STRTOQ
@@ -89,6 +90,7 @@ int unsetenv(const char *name);
#endif
#ifdef SOLARIS
+#undef HAVE_ASPRINTF
#undef HAVE_VASPRINTF
#undef HAVE_STRTOQ
#endif