From 61336b2404c7b09b7ddb73d17426e6b291b15c9c Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 24 Jun 2015 01:36:09 +0200 Subject: [PATCH] Expose INET6_ADDRSTRLEN. --- lib/posix/posix.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index 92bafe07d..9b9bf390a 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -1663,6 +1663,8 @@ var INET_ADDRSTRLEN* {.importc, header: "".}: cint ## 16. Length of the string form for IP. + INET6_ADDRSTRLEN* {.importc, header: "".}: cint + ## Length of the string form for IPv6. IPV6_JOIN_GROUP* {.importc, header: "".}: cint ## Join a multicast group.