Improved includes in snmp

This commit is contained in:
goldsimon 2010-01-14 19:59:03 +00:00
parent 97f797e859
commit 04f17c4709
4 changed files with 10 additions and 6 deletions

View File

@ -38,6 +38,7 @@
#include "lwip/snmp_structs.h"
#include "lwip/mem.h"
#include "lwip/netif.h"
/** .iso.org.dod.internet address prefix, @see snmp_iso_*() */
const s32_t prefix[4] = {1, 3, 6, 1};

View File

@ -36,14 +36,14 @@
#if LWIP_SNMP /* don't build if not configured for use in lwipopts.h */
#include "lwip/ip_addr.h"
#include "lwip/mem.h"
#include "lwip/udp.h"
#include "lwip/stats.h"
#include "lwip/snmp.h"
#include "lwip/snmp_asn1.h"
#include "lwip/snmp_msg.h"
#include "lwip/snmp_structs.h"
#include "lwip/ip_addr.h"
#include "lwip/mem.h"
#include "lwip/udp.h"
#include "lwip/stats.h"
#include <string.h>

View File

@ -34,13 +34,15 @@
#define __LWIP_SNMP_H__
#include "lwip/opt.h"
#include "lwip/netif.h"
#include "lwip/udp.h"
#ifdef __cplusplus
extern "C" {
#endif
struct udp_pcb;
struct netif;
struct ip_addr;
/**
* @see RFC1213, "MIB-II, 6. Definitions"
*/

View File

@ -38,6 +38,7 @@
#include "lwip/opt.h"
#include "lwip/snmp.h"
#include "lwip/snmp_structs.h"
#include "lwip/ip_addr.h"
#if LWIP_SNMP