freebsd-ports/net/linc/files/patch-src-linc-protocols.c
Pav Lucistnik ffa4af4bce - Fix build with gcc41
PR:		ports/104132
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
2006-10-07 21:51:40 +00:00

11 lines
402 B
C

--- src/linc-protocols.c.orig Sat Oct 7 21:41:04 2006
+++ src/linc-protocols.c Sat Oct 7 21:41:18 2006
@@ -609,7 +609,7 @@
/* FIXME: is IN6ADDR_ANY_INIT exported on Mac OS X ? */
/* on Mac OS X 10.1 inaddr6_any isn't exported by libc */
#ifndef in6addr_any
- static const struct in6_addr in6addr_any = { { { 0 } } };
+ const struct in6_addr in6addr_any = { { { 0 } } };
#endif
static gboolean