[PATCH 05/15] <net-snmp/agent/snmp_agent.h>: Add a missing #include directive

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.