summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel.h3
-rwxr-xr-xinclude/asterisk/logger.h4
-rwxr-xr-xinclude/asterisk/utils.h3
3 files changed, 9 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 1ebcb3064..25b483b11 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -14,6 +14,9 @@
#ifndef _ASTERISK_CHANNEL_H
#define _ASTERISK_CHANNEL_H
+#ifdef SOLARIS
+#include <solaris-compat/compat.h>
+#endif
#include <asterisk/frame.h>
#include <asterisk/sched.h>
#include <asterisk/chanvars.h>
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 1f7eab530..2e8a786b5 100755
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -13,7 +13,9 @@
#ifndef _LOGGER_H
#define _LOGGER_H
-
+#ifdef SOLARIS
+#include <solaris-compat/compat.h>
+#endif
#include <stdarg.h>
#if defined(__cplusplus) || defined(c_plusplus)
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index 590815320..b1b71d73e 100755
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -12,6 +12,9 @@
#ifndef _ASTERISK_UTIL_H
#define _ASTERISK_UTIL_H
+#ifdef SOLARIS
+#include <solaris-compat/compat.h>
+#endif
#include <netinet/in.h>
#include <netdb.h>
#include <pthread.h>