]> Cypherpunks repositories - gostls13.git/commit
syscall: include mmap constants in netbsd zerror* files
authorJoel Sing <jsing@google.com>
Tue, 7 Jan 2014 12:04:17 +0000 (23:04 +1100)
committerJoel Sing <jsing@google.com>
Tue, 7 Jan 2014 12:04:17 +0000 (23:04 +1100)
commit8f9844348fc66b560e5193cb402085d91f466788
tree23ef445242fc40f2278800f0af7583f17bef8090
parentd227d680ece216603c31e36ee995b814259325dc
syscall: include mmap constants in netbsd zerror* files

Include the <sys/mman.h> header for NetBSD mkerrors.sh. This brings
in constants used with mmap(2), msync(2) and mlockall(2).

The regeneration of the NetBSD zerror* files also picks clone(2)
related constants.

Update #4929.

R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/45510044
src/pkg/syscall/mkerrors.sh
src/pkg/syscall/zerrors_netbsd_386.go
src/pkg/syscall/zerrors_netbsd_amd64.go