[Olsr-cvs] olsrd-current/src/bsd net.c,1.34,1.35

Bernd Petrovitsch (spam-protected)
Tue May 1 22:13:53 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/src/bsd
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11267/src/bsd

Modified Files:
	net.c 
Log Message:
* fixes for OpenBSD according to the mail from Patrick McCarty <(spam-protected)> on Mon, 30 Apr 2007 09:26:37 -0700

Index: net.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/bsd/net.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** net.c	28 Apr 2007 19:51:16 -0000	1.34
--- net.c	1 May 2007 20:13:50 -0000	1.35
***************
*** 59,62 ****
--- 59,64 ----
  #include <netinet/icmp_var.h>
  #include <netinet/icmp6.h>
+ #include <netinet6/in6_var.h> /* For struct in6_ifreq */
+ #include <ifaddrs.h>
  #include <sys/uio.h>
  #endif
***************
*** 99,103 ****
  {
    int old;
! #if __MacOSX__
    size_t len = sizeof (old);
  #else
--- 101,105 ----
  {
    int old;
! #if __MacOSX__ || __OpenBSD__
    size_t len = sizeof (old);
  #else





More information about the Olsr-cvs mailing list