summaryrefslogtreecommitdiff
path: root/src/fmacros.h
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2021-02-23 12:57:45 +0200
committerGitHub <noreply@github.com>2021-02-23 12:57:45 +0200
commit95ea74549cc454d6d6a7462b366462589cd96712 (patch)
treed80d70cdfc83604090b38025c7f7b075af205249 /src/fmacros.h
parent8e83bcd2acb18370e2d6cea3718339792322e80f (diff)
downloadredis-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.h1
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