aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-19 18:52:04 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-19 18:52:04 +0000
commit9cf442d7f72870c9616ab967f2227cc1a145918c (patch)
tree7a165b52fc8cdccc78088e7e617f0bc50cc9b2a8 /include/asterisk/compat.h
parentb3e3d224967c073bcd52758fd7753d7422b952d0 (diff)
include "logger.h" and errno.h from asterisk.h - usage shows that they
were included almost everywhere. Remove some of the instances. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89424 f38db490-d61c-443f-a65b-d21fe96a405b
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