This change allows this header file to be included before <sys/time.h>.
---
 include/net-snmp/session_api.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net-snmp/session_api.h b/include/net-snmp/session_api.h
index e99305a664b9..a471ab7169e4 100644
--- a/include/net-snmp/session_api.h
+++ b/include/net-snmp/session_api.h
@@ -24,6 +24,7 @@ extern          "C" {
 #endif
 
     struct session_list;
+    struct timeval;
 
     NETSNMP_IMPORT
     void            snmp_sess_init(netsnmp_session *);
-- 
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