This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]