Since the snmp_agent.h header file uses the definitions from snmp_api.h,
include that header file.
---
 include/net-snmp/agent/snmp_agent.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net-snmp/agent/snmp_agent.h 
b/include/net-snmp/agent/snmp_agent.h
index 8545c37ed9a9..818a528de17c 100644
--- a/include/net-snmp/agent/snmp_agent.h
+++ b/include/net-snmp/agent/snmp_agent.h
@@ -30,6 +30,7 @@
 extern          "C" {
 #endif
 
+#include <net-snmp/library/snmp_api.h>
 #include <net-snmp/library/snmp_impl.h>
 #include <net-snmp/library/tools.h>
 #include <net-snmp/library/data_list.h>
-- 
2.16.3


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to