diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h index bcb8adddae..ca05141b5f 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 139f4f81b9..0ddca38f19 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);