# include <time.h>
# endif
#endif
-#ifdef BUILD_SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
#include "sysORTable.h"
-#endif /* BUILD_SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
#endif
static unsigned int vacmViewSpinLock = 0;
void
init_vacm_vars(void)
{
-#ifdef BUILD_SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
#ifdef USING_MIBII_SYSORTABLE_MODULE
static oid reg[] = { SNMP_OID_SNMPMODULES, 16, 2, 2, 1 };
#endif
-#endif /* BUILD_SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
#define PRIVRW (SNMPV2ANY | 0x5000)
snmpd_register_config_handler("vacmAccess", vacm_parse_config_access,
NULL, NULL);
-#ifdef BUILD_SNMP_SYSOR_MIB
+#ifdef SNMP_SYSOR_MIB
#ifdef USING_MIBII_SYSORTABLE_MODULE
register_sysORTable(reg, 10,
"View-based Access Control Model for SNMP.");
#endif
-#endif /* BUILD_SNMP_SYSOR_MIB */
+#endif /* SNMP_SYSOR_MIB */
/*
* register ourselves to handle access control