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 25476bc47..d918cd707 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -117,6 +117,8 @@ size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);
#endif
+#include <errno.h>
+
#ifdef SOLARIS
#define __BEGIN_DECLS
#define __END_DECLS