Added many missing includes to <string.h>

This commit is contained in:
goldsimon 2009-08-11 14:34:28 +00:00
parent 726953e7f3
commit 6ce49364c5
6 changed files with 11 additions and 5 deletions

View File

@ -52,6 +52,8 @@
#include "lwip/sockets.h"
#include "lwip/mem.h"
#include <string.h>
#if LWIP_SOCKET
#define MAX_SERV 5 /* Maximum number of chargen services. Don't need too many */

View File

@ -34,6 +34,8 @@
#include "fsdata.h"
#include "fsdata.c"
#include <string.h>
/*-----------------------------------------------------------------------------------*/

View File

@ -31,15 +31,13 @@
*/
#include "lwip/debug.h"
#include "lwip/stats.h"
#include "httpd.h"
#include "lwip/tcp.h"
#include "fs.h"
#include <string.h>
struct http_state {
u32_t left;
const unsigned char *file;

View File

@ -38,6 +38,8 @@
#include "lwip/udp.h"
#include "lwip/netif.h"
#include <string.h>
/** This is an example implementation of a NetBIOS name server.
* It responds to name queries for a configurable name.
* Name resolving is not supported.

View File

@ -38,7 +38,8 @@
#include "lwip/sys.h"
#include "lwip/sockets.h"
#include "time.h"
#include <string.h>
#include <time.h>
/** This is an example of a "SNTP" client (with socket API).
*

View File

@ -67,6 +67,7 @@
/* get the windows definitions of the following 4 functions out of the way */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "lwip/debug.h"