This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
vnc and lwip
- From: Jani Monoses <jani at iv dot ro>
- To: ecos-patches at sources dot redhat dot com
- Date: Fri, 28 May 2004 18:33:55 +0300
- Subject: vnc and lwip
Since lwip has a network.h header for compatibility with the other stacks
this can be applied.Will do so if nobody objects.
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