PR go/81324
commita680233188fd213fdd5b794fd44564f577796976
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jul 2017 22:06:31 +0000 (18 22:06 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jul 2017 22:06:31 +0000 (18 22:06 +0000)
tree0df24cb25c6a797d5a85bf2316ab66a1840069da
parent186e3417a3c0bf284b8f6f44284ce54eac6b6fca
PR go/81324
    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.

    Reviewed-on: https://go-review.googlesource.com/49290

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250324 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/sysinfo.c