commit | 21775ae119830810d9e415a02e85349f4190c68c | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Jul 17 10:34:26 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Jul 18 22:05:44 2017 +0000 |
tree | 76882c1776f5635589b547c50f7001db9251e203 | |
parent | 2ae6bf76f97f7d4c63a1f0ad0683b9ba62baaf06 [diff] |
sysinfo.c: ignore ptrace_peeksiginfo_args from <linux/ptrace.h> With some versions of glibc and GNU/Linux ptrace_pseeksiginfo_args is defined in both <sys/ptrace.h> and <linux/ptrace.h>. We don't actually care about the struct, so use a #define to avoid a redefinition error. This fixes https://gcc.gnu.org/PR81324. Change-Id: Ide04efe871da21f1a55f646a8f42a4f4283d9c50 Reviewed-on: https://go-review.googlesource.com/49290 Reviewed-by: Than McIntosh <thanm@google.com>