Moved #define NETDB_ELEM_SIZE from dns.h to netdb.h, where it belongs, and use sizeof() instead of hacked constants that are wrong on 64-bit platforms

This commit is contained in:
Simon Goldschmidt
2014-09-02 21:27:24 +02:00
parent 142cc8fe2a
commit 1fd4b851f5
3 changed files with 3 additions and 7 deletions

View File

@@ -58,6 +58,7 @@
#include "lwip/snmp_structs.h"
#include "lwip/snmp_msg.h"
#include "lwip/dns.h"
#include "lwip/netdb.h"
#include "netif/ppp/ppp.h"
#include "netif/ppp/pppoe.h"
#include "netif/ppp/pppol2tp.h"