Home | History | Annotate | Line # | Download | only in ntpsnmpd
ntp_snmp.h revision 1.1.1.4
      1  1.1.1.4  christos /*	$NetBSD: ntp_snmp.h,v 1.1.1.4 2015/07/10 13:11:07 christos Exp $	*/
      2  1.1.1.4  christos 
      3      1.1    kardel /*
      4      1.1    kardel  * ntp_snmp.h -- common net-snmp header includes and workaround
      5      1.1    kardel  *		 for Autoconf-related PACKAGE_* redefinitions between
      6      1.1    kardel  *		 net-snmp and NTP.
      7      1.1    kardel  *
      8      1.1    kardel  * Currently ntpsnmpd *.c files are exceptions to the rule that every .c
      9      1.1    kardel  * file should include <config.h> before any other headers.  It would be
     10      1.1    kardel  * ideal to rearrange its includes so that our config.h is first, but
     11      1.1    kardel  * that is complicated by the redefinitions between our config.h and
     12      1.1    kardel  * net-snmp/net-snmp-config.h.
     13      1.1    kardel  */
     14      1.1    kardel 
     15      1.1    kardel #include <net-snmp/net-snmp-config.h>
     16      1.1    kardel #include <net-snmp/net-snmp-includes.h>
     17      1.1    kardel #include <net-snmp/agent/net-snmp-agent-includes.h>
     18      1.1    kardel 
     19      1.1    kardel #ifdef PACKAGE_BUGREPORT
     20      1.1    kardel # undef PACKAGE_BUGREPORT
     21      1.1    kardel #endif
     22      1.1    kardel #ifdef PACKAGE_NAME
     23      1.1    kardel # undef PACKAGE_NAME
     24      1.1    kardel #endif
     25      1.1    kardel #ifdef PACKAGE_STRING
     26      1.1    kardel # undef PACKAGE_STRING
     27      1.1    kardel #endif
     28      1.1    kardel #ifdef PACKAGE_TARNAME
     29      1.1    kardel # undef PACKAGE_TARNAME
     30      1.1    kardel #endif
     31  1.1.1.2  christos #ifdef PACKAGE_URL
     32  1.1.1.2  christos # undef PACKAGE_URL
     33  1.1.1.2  christos #endif
     34      1.1    kardel #ifdef PACKAGE_VERSION
     35      1.1    kardel # undef PACKAGE_VERSION
     36      1.1    kardel #endif
     37      1.1    kardel 
     38      1.1    kardel #include <ntpSnmpSubagentObject.h>
     39      1.1    kardel #include <config.h>
     40