From: Tomas Hruby Date: Thu, 11 Oct 2012 10:23:44 +0000 (+0000) Subject: LIBLWIP - fixed clang warnings X-Git-Tag: v3.3.0~1071 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=9d66e2299d2c3d78258a78cc3311cc66a39bf058;p=minix.git LIBLWIP - fixed clang warnings --- diff --git a/lib/liblwip/include/arch/cc.h b/lib/liblwip/include/arch/cc.h index afad1469b..21599d7fd 100644 --- a/lib/liblwip/include/arch/cc.h +++ b/lib/liblwip/include/arch/cc.h @@ -4,6 +4,7 @@ #include #include #include +#include #include #include diff --git a/lib/liblwip/include/lwip/mem.h b/lib/liblwip/include/lwip/mem.h index e7d8b8baf..67cf00528 100644 --- a/lib/liblwip/include/lwip/mem.h +++ b/lib/liblwip/include/lwip/mem.h @@ -41,6 +41,7 @@ extern "C" { #if MEM_LIBC_MALLOC #include /* for size_t */ +#include typedef size_t mem_size_t; diff --git a/lib/liblwip/include/lwipopts.h b/lib/liblwip/include/lwipopts.h index 8717c8aae..d3d6ff0bb 100644 --- a/lib/liblwip/include/lwipopts.h +++ b/lib/liblwip/include/lwipopts.h @@ -68,7 +68,7 @@ #define CHECKSUM_CHECK_TCP 1 #define TCP_MSS (1460) -#define TCP_SND_BUF (256 * TCP_MSS) +#define TCP_SND_BUF (44 * TCP_MSS) #define TCP_SNDLOWAT (256) #define TCP_SND_QUEUELEN (512) #define TCP_WND ((1 << 16) - 1)