# random.h: error: 'u_int' has not been declared --- lib/util.cpp.orig 2021-09-14 20:31:27.000000000 +0800 +++ lib/util.cpp 2022-03-25 01:56:45.000000000 +0800 @@ -18,6 +18,9 @@ #endif #if HAVE_GETENTROPY #ifdef __APPLE__ + #ifndef u_int + #define u_int unsigned int + #endif #include #include #endif