1258945Sroberto/*
2258945Sroberto * ntp_snmp.h -- common net-snmp header includes and workaround
3258945Sroberto *		 for Autoconf-related PACKAGE_* redefinitions between
4258945Sroberto *		 net-snmp and NTP.
5258945Sroberto *
6258945Sroberto * Currently ntpsnmpd *.c files are exceptions to the rule that every .c
7258945Sroberto * file should include <config.h> before any other headers.  It would be
8258945Sroberto * ideal to rearrange its includes so that our config.h is first, but
9258945Sroberto * that is complicated by the redefinitions between our config.h and
10258945Sroberto * net-snmp/net-snmp-config.h.
11258945Sroberto */
12258945Sroberto
13258945Sroberto#include <net-snmp/net-snmp-config.h>
14258945Sroberto#include <net-snmp/net-snmp-includes.h>
15258945Sroberto#include <net-snmp/agent/net-snmp-agent-includes.h>
16258945Sroberto
17258945Sroberto#ifdef PACKAGE_BUGREPORT
18258945Sroberto# undef PACKAGE_BUGREPORT
19258945Sroberto#endif
20258945Sroberto#ifdef PACKAGE_NAME
21258945Sroberto# undef PACKAGE_NAME
22258945Sroberto#endif
23258945Sroberto#ifdef PACKAGE_STRING
24258945Sroberto# undef PACKAGE_STRING
25258945Sroberto#endif
26258945Sroberto#ifdef PACKAGE_TARNAME
27258945Sroberto# undef PACKAGE_TARNAME
28258945Sroberto#endif
29280849Scy#ifdef PACKAGE_URL
30280849Scy# undef PACKAGE_URL
31280849Scy#endif
32258945Sroberto#ifdef PACKAGE_VERSION
33258945Sroberto# undef PACKAGE_VERSION
34258945Sroberto#endif
35258945Sroberto
36258945Sroberto#include <ntpSnmpSubagentObject.h>
37258945Sroberto#include <config.h>
38