ci: undefined reference to arc4random_buf

This commit is contained in:
Cory McWilliams 2024-08-15 12:12:58 -04:00
parent 5f5e6616c7
commit 347c706d6f

View File

@ -137,7 +137,11 @@
#define HAVE_IFADDRS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WRITEV 1
#if defined(__ANDROID__) || defined(__APPLE__) || defined(__OpenBSD__)
#define HAVE_ARC4RANDOM_BUF 1
#else
#undef HAVE_ARC4RANDOM_BUF
#endif
#define HAVE_GETIFADDRS 1
#define HAVE_STAT 1
#define CARES_RANDOM_FILE "/dev/urandom"