mirror of
https://github.com/rwinkhart/sys.git
synced 2026-10-28 20:28:18 -04:00
unix: add missing netlink constants on Linux
Fixes golang/go#19262 Change-Id: I67ceb187cd68e90a9387a706a89aafded0befe53 Reviewed-on: https://go-review.googlesource.com/37344 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
1 parent
075e574b89
commit
e4594059fe
11 files changed
+45
No files matched your search
@@ -146,6 +146,10 @@ includes_Linux='
|
||||
#define PTRACE_SETREGS 0xd
|
||||
#endif
|
||||
|
||||
#ifndef SOL_NETLINK
|
||||
#define SOL_NETLINK 270
|
||||
#endif
|
||||
|
||||
#ifdef SOL_BLUETOOTH
|
||||
// SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h
|
||||
// but it is already in bluetooth_linux.go
|
||||
|
||||
Reference in new issue
Block a user