diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2021-02-23 12:57:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 12:57:45 +0200 |
commit | 95ea74549cc454d6d6a7462b366462589cd96712 (patch) | |
tree | d80d70cdfc83604090b38025c7f7b075af205249 /src/fmacros.h | |
parent | 8e83bcd2acb18370e2d6cea3718339792322e80f (diff) | |
download | redis-95ea74549cc454d6d6a7462b366462589cd96712.tar.gz |
Fix failed tests on Linux Alpine and add a CI job. (#8532)
* Remove linux/version.h dependency.
This introduces unnecessary dependencies, and generally not a good idea
as the platform we build on may be different than the platform we run
on.
To determine if sync_file_range exists we can simply rely on header file
hints.
* Fix setproctitle() on libmusl.
The previous ifdef checks were a bit too strict for no apparent
reason.
* Fix tests failure on Linux with no backtrace.
* Add alpine daily CI job.
Diffstat (limited to 'src/fmacros.h')
-rw-r--r-- | src/fmacros.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fmacros.h b/src/fmacros.h index 089dc8de7..a97d21a47 100644 --- a/src/fmacros.h +++ b/src/fmacros.h @@ -60,7 +60,6 @@ #ifdef __linux__ /* features.h uses the defines above to set feature specific defines. */ -#include <linux/version.h> #include <features.h> #endif |