This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: vnc and lwip
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Jani Monoses <jani at iv dot ro>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Fri, 28 May 2004 17:52:57 +0200
- Subject: Re: vnc and lwip
- References: <20040528183355.278fe4ba.jani@iv.ro>
On Fri, May 28, 2004 at 06:33:55PM +0300, Jani Monoses wrote:
> Since lwip has a network.h header for compatibility with the other stacks
> this can be applied.Will do so if nobody objects.
Looks good to me. Don't forget a ChangeLog entry as well.
Andrew
>
> Jani
>
> --- orig/packages/net/vnc_server/current/src/vnc-server.c
> +++ mod/packages/net/vnc_server/current/src/vnc-server.c
> @@ -58,16 +58,7 @@
> #include <stdlib.h>
> #include <vnc-server.h>
>
> -#ifdef CYGPKG_NET
> -/* eCos (BSD stack) include */
> #include <network.h>
> -#else
> -/* eCos (lwIP stack) include */
> -#include <lwip/sys.h> /* lwIP stack includes */
> -#define LWIP_COMPAT_SOCKETS 1
> -#include <lwip/sockets.h>
> -#include <lwip/inet.h>
> -#endif
>