]> git.saurik.com Git - apple/libc.git/blob - net/FreeBSD/sourcefilter.c.patch
0eeba366e2ba708d12805b002821764bc0680fe5
[apple/libc.git] / net / FreeBSD / sourcefilter.c.patch
1 --- sourcefilter.c.orig 2010-06-29 16:12:54.000000000 -0700
2 +++ sourcefilter.c 2010-06-29 17:55:54.000000000 -0700
3 @@ -27,6 +27,9 @@
4 #include <sys/cdefs.h>
5 __FBSDID("$FreeBSD: src/lib/libc/net/sourcefilter.c,v 1.5 2009/04/29 09:58:31 bms Exp $");
6
7 +/* 8120237: enable INET6 */
8 +#define __APPLE_USE_RFC_3542
9 +
10 #include "namespace.h"
11
12 #include <sys/types.h>
13 @@ -56,6 +59,10 @@ __FBSDID("$FreeBSD: src/lib/libc/net/sou
14 #ifndef INET
15 #define INET
16 #endif
17 +/* 8120237: enable INET6 */
18 +#ifndef INET6
19 +#define INET6
20 +#endif
21
22 union sockunion {
23 struct sockaddr_storage ss;