2 * ntp_snmp.h -- common net-snmp header includes and workaround
3 * for Autoconf-related PACKAGE_* redefinitions between
6 * Currently ntpsnmpd *.c files are exceptions to the rule that every .c
7 * file should include <config.h> before any other headers. It would be
8 * ideal to rearrange its includes so that our config.h is first, but
9 * that is complicated by the redefinitions between our config.h and
10 * net-snmp/net-snmp-config.h.
13 #include <net-snmp/net-snmp-config.h>
14 #include <net-snmp/net-snmp-includes.h>
15 #include <net-snmp/agent/net-snmp-agent-includes.h>
17 #ifdef PACKAGE_BUGREPORT
18 # undef PACKAGE_BUGREPORT
24 # undef PACKAGE_STRING
26 #ifdef PACKAGE_TARNAME
27 # undef PACKAGE_TARNAME
32 #ifdef PACKAGE_VERSION
33 # undef PACKAGE_VERSION
36 #include <ntpSnmpSubagentObject.h>