proc-events.c: fix compilation on Solaris
authorFabian Groffen <grobian@gentoo.org>
Sun, 29 Apr 2018 16:04:54 +0000 (12:04 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 29 Apr 2018 16:05:10 +0000 (12:05 -0400)
commite28b63a989caffa4a6fba1aaf0d8992b37d13da8
tree4fe3774e3877ea10facaf6dff561f6e4142ad37d
parentcd8c76e410a5f16a170cc680be1ae2ecb5528821
proc-events.c: fix compilation on Solaris

This patch adds a guard around the usage of SYS_uuidsys, which is
not available on (at least) Solaris 10 and OpenIndiana.

gdb/ChangeLog:

PR gdb/22950
* proc-events.c (init_syscall_table): Guard usage os SYS_uuidsys
with #ifdef.
gdb/ChangeLog
gdb/proc-events.c