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