[PATCH 04/15] <net-snmp/session_api.h>: Add a missing forward declaration
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <[email protected]> |
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