Hello,

The first two non-comment lines in the source file agent/mib_modules.c
are as follows:

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

And the file win32/net-snmp/net-snmp-config.h.in contains the following line:

#define USING_DISMAN_EVENT_MIB_MODULE 1

Or: the above definition will be effective in most Net-SNMP source
files, since most source files include <net-snmp/net-snmp-config.h>
before including any other header file, but not in
agent/mib_modules.c.

Should the two #include directives in file agent/mib_modules.c be
swapped, or should the above define be moved to the header
win32/net-snmp/agent/mib_module_config.h ?

Bart.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to