From a6e316a92db37755f2d5be1249ca450a808051cf Mon Sep 17 00:00:00 2001 From: kieranm Date: Mon, 27 Jul 2009 15:20:33 +0000 Subject: [PATCH] Add missing #include directives --- CHANGELOG | 11 +++++++++++ src/include/lwip/api.h | 2 ++ src/include/lwip/api_msg.h | 2 ++ src/include/lwip/netdb.h | 2 ++ src/include/lwip/sockets.h | 2 ++ 5 files changed, 19 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index f23d5d18..abddb649 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -19,6 +19,13 @@ HISTORY ++ New features: + ++ Bugfixes: + + +(STABLE-1.3.1) + + ++ New features: + 2009-05-10 Simon Goldschmidt * opt.h, sockets.c, pbuf.c, netbuf.h, pbuf.h: task #7013: Added option LWIP_NETIF_TX_SINGLE_PBUF to try to create transmit packets from only @@ -108,6 +115,10 @@ HISTORY ++ Bugfixes: + + 2009-07-27 Kieran Mansley + * api.h api_msg.h netdb.h sockets.h: add missing #include directives + 2009-07-09 Kieran Mansley * api_msg.c, sockets.c, api.h: BUG23240 use signed counters for recv_avail and don't increment counters until message successfully diff --git a/src/include/lwip/api.h b/src/include/lwip/api.h index df0e0e57..f6b1f743 100644 --- a/src/include/lwip/api.h +++ b/src/include/lwip/api.h @@ -36,6 +36,8 @@ #if LWIP_NETCONN /* don't build if not configured for use in lwipopts.h */ +#include /* for size_t */ + #include "lwip/netbuf.h" #include "lwip/sys.h" #include "lwip/ip_addr.h" diff --git a/src/include/lwip/api_msg.h b/src/include/lwip/api_msg.h index c682222f..4272d77c 100644 --- a/src/include/lwip/api_msg.h +++ b/src/include/lwip/api_msg.h @@ -36,6 +36,8 @@ #if LWIP_NETCONN /* don't build if not configured for use in lwipopts.h */ +#include /* for size_t */ + #include "lwip/ip_addr.h" #include "lwip/err.h" #include "lwip/sys.h" diff --git a/src/include/lwip/netdb.h b/src/include/lwip/netdb.h index ce175ce4..0f7b2ec0 100644 --- a/src/include/lwip/netdb.h +++ b/src/include/lwip/netdb.h @@ -31,6 +31,8 @@ #if LWIP_DNS && LWIP_SOCKET +#include /* for size_t */ + #include "lwip/sockets.h" /* some rarely used options */ diff --git a/src/include/lwip/sockets.h b/src/include/lwip/sockets.h index 63d1a9a9..7b52e151 100644 --- a/src/include/lwip/sockets.h +++ b/src/include/lwip/sockets.h @@ -38,6 +38,8 @@ #if LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */ +#include /* for size_t */ + #include "lwip/ip_addr.h" #include "lwip/inet.h"