"brian m. carlson" <sandals@xxxxxxxxxxxxxxxxxxxx> writes: > There's an important additional difference here. On real BSD systems, > the prototypes for this family of functions live in <stdlib.h>. Ah, I missed that one. So "C side does not care between HAVE_ARC4RANDOM_LIBBSD and HAVE_ARC4RANDOM" is not true. We do care and the patch as posted is fine. Thanks.