aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-09 15:24:36 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-09 15:24:36 +0000
commit4253df159268da4d9805413c53d9b80be99fccef (patch)
treea5782f552b491c5cb0ecb8e5371dbf6ec3b886d2
parentd5cd493723ebe20cec62a876f04c3fcceab92ddd (diff)
Regression fixes for Solaris
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@136945 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--include/asterisk/astobj2.h2
-rw-r--r--include/asterisk/compat.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h
index bcb8addda..ca05141b5 100644
--- a/include/asterisk/astobj2.h
+++ b/include/asterisk/astobj2.h
@@ -17,6 +17,8 @@
#ifndef _ASTERISK_ASTOBJ2_H
#define _ASTERISK_ASTOBJ2_H
+#include "asterisk/compat.h"
+
/*! \file
*
* \brief Object Model implementing objects and containers.
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 139f4f81b..0ddca38f1 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -54,6 +54,7 @@
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned int u_int32_t;
+typedef unsigned int uint;
#endif
char* strsep(char** str, const char* delims);