File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / ntpsnmpd / ntp_snmp.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 5 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

/*
 * ntp_snmp.h -- common net-snmp header includes and workaround
 *		 for Autoconf-related PACKAGE_* redefinitions between
 *		 net-snmp and NTP.
 *
 * Currently ntpsnmpd *.c files are exceptions to the rule that every .c
 * file should include <config.h> before any other headers.  It would be
 * ideal to rearrange its includes so that our config.h is first, but
 * that is complicated by the redefinitions between our config.h and
 * net-snmp/net-snmp-config.h.
 */

#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>

#ifdef PACKAGE_BUGREPORT
# undef PACKAGE_BUGREPORT
#endif
#ifdef PACKAGE_NAME
# undef PACKAGE_NAME
#endif
#ifdef PACKAGE_STRING
# undef PACKAGE_STRING
#endif
#ifdef PACKAGE_TARNAME
# undef PACKAGE_TARNAME
#endif
#ifdef PACKAGE_VERSION
# undef PACKAGE_VERSION
#endif

#include <ntpSnmpSubagentObject.h>
#include <config.h>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>