1230832Sgnn/* $NetBSD: ntp_snmp.h,v 1.6 2020/05/25 20:47:26 christos Exp $ */ 2230832Sgnn 3230832Sgnn/* 4230832Sgnn * ntp_snmp.h -- common net-snmp header includes and workaround 5230832Sgnn * for Autoconf-related PACKAGE_* redefinitions between 6230832Sgnn * net-snmp and NTP. 7230832Sgnn * 8230832Sgnn * Currently ntpsnmpd *.c files are exceptions to the rule that every .c 9230832Sgnn * file should include <config.h> before any other headers. It would be 10230832Sgnn * ideal to rearrange its includes so that our config.h is first, but 11230832Sgnn * that is complicated by the redefinitions between our config.h and 12230832Sgnn * net-snmp/net-snmp-config.h. 13230832Sgnn */ 14230832Sgnn 15230832Sgnn#include <net-snmp/net-snmp-config.h> 16230832Sgnn#include <net-snmp/net-snmp-includes.h> 17230832Sgnn#include <net-snmp/agent/net-snmp-agent-includes.h> 18230832Sgnn 19230832Sgnn#ifdef PACKAGE_BUGREPORT 20230832Sgnn# undef PACKAGE_BUGREPORT 21230832Sgnn#endif 22230832Sgnn#ifdef PACKAGE_NAME 23230832Sgnn# undef PACKAGE_NAME 24230832Sgnn#endif 25230832Sgnn#ifdef PACKAGE_STRING 26230832Sgnn# undef PACKAGE_STRING 27230832Sgnn#endif 28230832Sgnn#ifdef PACKAGE_TARNAME 29230832Sgnn# undef PACKAGE_TARNAME 30230832Sgnn#endif 31230832Sgnn#ifdef PACKAGE_URL 32230832Sgnn# undef PACKAGE_URL 33230832Sgnn#endif 34230832Sgnn#ifdef PACKAGE_VERSION 35230832Sgnn# undef PACKAGE_VERSION 36230832Sgnn#endif 37230832Sgnn 38230832Sgnn#include <ntpSnmpSubagentObject.h> 39230832Sgnn#include <config.h> 40230832Sgnn