si_errno and friends are macros on NetBSD, so #undef them first.

llvm-svn: 191388
This commit is contained in:
Joerg Sonnenberger
2013-09-25 17:56:48 +00:00
parent 34ea0f8a34
commit ca965885e5

View File

@@ -29,6 +29,10 @@ struct compat_timeval
#define ELFLINUXPRSTATUS64_SIZE (112)
#define ELFLINUXPRPSINFO64_SIZE (132)
#undef si_signo
#undef si_code
#undef si_errno
struct ELFLinuxPrStatus
{
int32_t si_signo;