From e632d9ae213511e9638cbff2296da47c120e20c5 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 10 Sep 2025 09:35:31 +0200 Subject: [PATCH] Fix `hiredis-client` compilation with `clang 21` Fix: https://github.com/redis-rb/redis-client/issues/250 --- CHANGELOG.md | 2 ++ .../ext/redis_client/hiredis/hiredis_connection.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f43703b..74f09fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Unreleased +- Fix `hiredis-client` compilation with `clang 21`. + # 0.25.2 - Fix circuit breakers to respect the `error_threshold_timeout` config is provided. diff --git a/hiredis-client/ext/redis_client/hiredis/hiredis_connection.c b/hiredis-client/ext/redis_client/hiredis/hiredis_connection.c index 5cbcccc..5b935ef 100644 --- a/hiredis-client/ext/redis_client/hiredis/hiredis_connection.c +++ b/hiredis-client/ext/redis_client/hiredis/hiredis_connection.c @@ -36,9 +36,9 @@ #include #include #include -#include "hiredis.h" -#include "net.h" -#include "hiredis_ssl.h" +#include "vendor/hiredis.h" +#include "vendor/net.h" +#include "vendor/hiredis_ssl.h" #include #if !defined(RUBY_ASSERT)