summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-19 18:52:04 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-19 18:52:04 +0000
commit0595b5e2aa6a868b01c617881cfefc6028817a28 (patch)
tree7a165b52fc8cdccc78088e7e617f0bc50cc9b2a8 /include
parent406f6f2909a84f30d730b336a05993628a15ac0c (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: https://origsvn.digium.com/svn/asterisk/trunk@89424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h1
-rw-r--r--include/asterisk/compat.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 9881711e1..d4b2f0391 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -30,6 +30,7 @@
#include "asterisk/compat.h"
#include "asterisk/paths.h"
+#include "asterisk/logger.h"
/* Default to allowing the umask or filesystem ACLs to determine actual file
* creation permissions
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