libgo: adjust NetBSD-specific types for stable syscall API

The backwards-compatibility guarantees of the syscall package
require some munging of the C API inferred by
Specifically, the RTM_RESOLVE constant must be added if it is
missing, and the stat_t struct must use the suffix "timespec"
rather than "tim" for its time-related fields.

Change-Id: I08d9c68e0a299fdf91f14402b63e25377ffa6b59
Reviewed-by: Ian Lance Taylor <>
Reviewed-by: Benny Siegert <>
Trust: Benny Siegert <>
1 file changed