This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Pam.McANulty
Recipients Pam.McANulty
Date 2016-12-23.17:37:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
make failed on Mac OS X including sys/random.h

It looks to be caused by this commit:

Restoring the removed ifdefs solves the problem (see github PR)

Official patch to follow

Failure message.
In file included from Python/random.c:16:
/usr/include/sys/random.h:37:32: error: unknown type name 'u_int'
void read_random(void* buffer, u_int numBytes);
/usr/include/sys/random.h:38:33: error: unknown type name 'u_int'
void read_frandom(void* buffer, u_int numBytes);
/usr/include/sys/random.h:39:33: error: unknown type name 'u_int'
int  write_random(void* buffer, u_int numBytes);
3 errors generated.
make: *** [Python/random.o] Error 1
Date User Action Args
2016-12-23 17:37:29Pam.McANultysetrecipients: + Pam.McANulty
2016-12-23 17:37:29Pam.McANultysetmessageid: <>
2016-12-23 17:37:29Pam.McANultylinkissue29057 messages
2016-12-23 17:37:29Pam.McANultycreate