summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ddf29c7e1..fd22b3be4 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
* \ref AstObj2
*
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 950712060..e481fbec4 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -163,6 +163,7 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned int u_int32_t;
+typedef unsigned int uint;
#endif
#endif /* SOLARIS */