--- src/flb_random.c 2026-08-15 11:52:07.000000000 +0800 +++ src/flb_random.c 2026-08-17 22:03:24.000000000 +0800 @@ -20,10 +20,8 @@ #include #include -#ifdef FLB_HAVE_GETENTROPY +#if defined(FLB_HAVE_GETENTROPY) || defined(FLB_HAVE_GETENTROPY_SYS_RANDOM) #include -#endif -#ifdef FLB_HAVE_GETENTROPY_SYS_RANDOM #include #endif