mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
The C headers defining these constants pull in <netinet/in.h> which leads to definition conflicts between kernel and glibc headers when running mkerrors.sh for Linux kernel 5.13. Avoid these by moving this const definitions to linux/types.go. For golang/go#47057 Change-Id: I09a2391dfe4c6bb38b7069e952748070c10824e6 Reviewed-on: https://go-review.googlesource.com/c/sys/+/332929 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>