Skip to content

Commit d21f550

Browse files
authored
Merge pull request #251 from redis-rb/fix-hiredis-with-clang-21
Fix `hiredis-client` compilation with `clang 21`
2 parents 03111e8 + e632d9a commit d21f550

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Unreleased
22

3+
- Fix `hiredis-client` compilation with `clang 21`.
4+
35
# 0.25.2
46

57
- Fix circuit breakers to respect the `error_threshold_timeout` config is provided.

hiredis-client/ext/redis_client/hiredis/hiredis_connection.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
#include <errno.h>
3737
#include <sys/socket.h>
3838
#include <stdbool.h>
39-
#include "hiredis.h"
40-
#include "net.h"
41-
#include "hiredis_ssl.h"
39+
#include "vendor/hiredis.h"
40+
#include "vendor/net.h"
41+
#include "vendor/hiredis_ssl.h"
4242
#include <poll.h>
4343

4444
#if !defined(RUBY_ASSERT)

0 commit comments

Comments
 (0)