]> Cypherpunks repositories - gostls13.git/commit
syscall: include mmap constants in openbsd zerror* files
authorJoel Sing <jsing@google.com>
Mon, 13 Jan 2014 00:25:48 +0000 (11:25 +1100)
committerJoel Sing <jsing@google.com>
Mon, 13 Jan 2014 00:25:48 +0000 (11:25 +1100)
commitf40dd8f1d9a1c2ed2e7160702b7466df5d9ccb5b
tree35c5cae0028b556bee47fcc003880e249cd11b3c
parent3233a12f614723317f5d2e127b87b69aa236cd58
syscall: include mmap constants in openbsd zerror* files

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

Fixes #4929

R=golang-codereviews, minux.ma
CC=golang-codereviews
https://golang.org/cl/50930043
src/pkg/syscall/mkerrors.sh
src/pkg/syscall/zerrors_openbsd_386.go
src/pkg/syscall/zerrors_openbsd_amd64.go