Merge "res_snmp: Declare RONLY if net-snmp headers do not."

changes/08/7308/1
Joshua Colp 9 years ago committed by Gerrit Code Review
commit c2d97a98b2

@ -63,6 +63,10 @@
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#if !defined(RONLY) && defined(NETSNMP_OLDAPI_RONLY)
#define RONLY NETSNMP_OLDAPI_RONLY
#endif
#include "asterisk/paths.h" /* need ast_config_AST_SOCKET */
#include "asterisk/channel.h"
#include "asterisk/logger.h"

Loading…
Cancel
Save