]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: attempt to fix windows build, supply missing constant
authorAndrew Gerrand <adg@golang.org>
Thu, 20 Jan 2011 01:41:59 +0000 (12:41 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 20 Jan 2011 01:41:59 +0000 (12:41 +1100)
R=r, brainman, rsc1
CC=golang-dev
https://golang.org/cl/4023043

src/pkg/syscall/ztypes_windows_386.go

index e67165f2324ad76585eb2f2e065e6aa26a62d102..b1271aff178306a24ed64109c4ed12d3b79cb935 100644 (file)
@@ -295,9 +295,10 @@ const (
        AF_INET6   = 23
        AF_NETBIOS = 17
 
-       SOCK_STREAM = 1
-       SOCK_DGRAM  = 2
-       SOCK_RAW    = 3
+       SOCK_STREAM    = 1
+       SOCK_DGRAM     = 2
+       SOCK_RAW       = 3
+       SOCK_SEQPACKET = 5
 
        IPPROTO_IP  = 0
        IPPROTO_TCP = 6