I recommend the following patch to api_lib.c, to fix compilation
problems with the memcpy addition. This patch sticks with the convention
in files like ip_frag.c, which basically involves adding '#include <
string.h >".
Index: api_lib.c
===============================================================
RCS file: /sources/lwip/lwip/src/api/api_lib.c,v
retrieving revision 1.25
diff -u -r1.25 api_lib.c
--- api_lib.c 28 Feb 2007 14:15:43
-0000 1.25
+++ api_lib.c 5 Mar 2007 13:55:18 -0000
@@ -33,6 +33,7 @@
/* This is the part of the API that is linked with
the application */
+#include <string.h>
#include "lwip/opt.h"
#include "lwip/api.h"
#include "lwip/api_msg.h"