changeset 1146:fddabea2836c

* src/ipv6_routing_thread.c: Fix compiler warnings * cd/net.cdl: The routing thread needs the posix package.
author asl
date Thu, 31 Jul 2003 08:56:26 +0000
parents a571341dd6e5
children 78410c288211
files packages/net/common/current/ChangeLog packages/net/common/current/cdl/net.cdl packages/net/common/current/src/ipv6_routing_thread.c
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog
+++ b/packages/net/common/current/ChangeLog
@@ -6,6 +6,11 @@ 2003-07-29  Motoya Kurotsu  <kurotsu@all
         knows the interface it still up and can later bring it down when 
         cleaning up.
 
+2003-07-25  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* src/ipv6_routing_thread.c: Fix compiler warnings
+	* cd/net.cdl: The routing thread needs the posix package.
+
 2003-07-24  Nick Garnett  <nickg@balti.calivar.com>
 
 	* src/dhcp_prot.c: Added a declaration for cyg_arc4random() to
@@ -16,7 +21,7 @@ 2003-07-15  Nick Garnett  <nickg@balti.c
 	* include/net/netdb.h: Added include for <sys/param.h>. the in.h
 	file included later needs this.
 
- 2003-05-23  Andrew Lunn  <andrew.lunn@ascom.ch>
+2003-05-23  Andrew Lunn  <andrew.lunn@ascom.ch>
  
  	* src/network_support.c (init_all_network_interfaces): Allow IPv4
  	or IPv6 addresses to be used when configuring a default DNS
--- a/packages/net/common/current/cdl/net.cdl
+++ b/packages/net/common/current/cdl/net.cdl
@@ -259,6 +259,7 @@ cdl_package CYGPKG_NET {
 
         cdl_component CYGOPT_NET_IPV6_ROUTING_THREAD {
             display       "Thread for IPv6 routing"
+            requires      CYGPKG_POSIX
             flavor        bool
             default_value 1
             description "
--- a/packages/net/common/current/src/ipv6_routing_thread.c
+++ b/packages/net/common/current/src/ipv6_routing_thread.c
@@ -37,10 +37,11 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
+#include <sys/select.h>
 #include <errno.h>
 
 #include <cyg/kernel/kapi.h>
-
+#include <cyg/infra/diag.h>
 #include <net/if.h>
 #include <ifaddrs.h>
 #include <net/if_var.h>