Permalink
Browse files

[TT #2101] Attempt to fix ipv6 detection on Gentoo, tadzik++

  • Loading branch information...
leto committed Apr 28, 2011
1 parent 3456694 commit 2888490650075683f8eee8f42f4f2c895830cdf1
Showing with 3 additions and 2 deletions.
  1. +3 −2 config/auto/ipv6/test.in
View
@@ -1,6 +1,6 @@
/*
-Copyright (C) 2010, Parrot Foundation.
+Copyright (C) 2010-2011, Parrot Foundation.
*/
@@ -33,7 +33,8 @@ int main(int argc, char *argv[]) {
getaddrinfo(NULL, "1234", &hints, &ai);
- printf("OK\n");
+ if (socket(AF_INET6, SOCK_STREAM, 0) > 0)
+ printf("OK\n");
return EXIT_SUCCESS;
}

0 comments on commit 2888490

Please sign in to comment.