diff options
author | yoav-steinberg <yoav@monfort.co.il> | 2021-11-29 16:09:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 16:09:20 +0200 |
commit | 2386e541826c04b9932be775360b2f4464db948b (patch) | |
tree | 8082512fba6d30003f4d74380a85e40932378cbe /deps | |
parent | 9f9c78578f87e02118d8b1a215b946b61338b8a3 (diff) | |
download | redis-2386e541826c04b9932be775360b2f4464db948b.tar.gz |
fix deprecation of _BSD_SOURCE feature test macro (#9861)
caused a build warning in linenoise since glibc 2.20
Diffstat (limited to 'deps')
-rw-r--r-- | deps/linenoise/linenoise.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/linenoise/linenoise.c b/deps/linenoise/linenoise.c index b0a847045..1b01622c5 100644 --- a/deps/linenoise/linenoise.c +++ b/deps/linenoise/linenoise.c @@ -103,6 +103,7 @@ * */ +#define _DEFAULT_SOURCE /* For fchmod() */ #define _BSD_SOURCE /* For fchmod() */ #include <termios.h> #include <unistd.h> |