diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-08-03 11:27:55 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-08-21 10:27:09 +0200 |
commit | d720f83f87cebc55116ce9aebe5bcbe7d21a49d3 (patch) | |
tree | 71b02b7f5645e6e522994a8b99277c39c9e750d5 /package/utils/mdadm/patches/100-cross_compile.patch | |
parent | c85f9a245ad410c06a801768677aa8245e46bb2b (diff) | |
download | upstream-d720f83f87cebc55116ce9aebe5bcbe7d21a49d3.tar.gz upstream-d720f83f87cebc55116ce9aebe5bcbe7d21a49d3.tar.bz2 upstream-d720f83f87cebc55116ce9aebe5bcbe7d21a49d3.zip |
mdadm: Fix compile with musl 1.1.23
This adds missing includes for sys/sysmacros.h which are needed with
musl libc 1.1.23.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit ba8aeb02eae26771b89390403462e6841621069e)
Diffstat (limited to 'package/utils/mdadm/patches/100-cross_compile.patch')
-rw-r--r-- | package/utils/mdadm/patches/100-cross_compile.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/mdadm/patches/100-cross_compile.patch b/package/utils/mdadm/patches/100-cross_compile.patch index 3576364d6f..0a5fa017c6 100644 --- a/package/utils/mdadm/patches/100-cross_compile.patch +++ b/package/utils/mdadm/patches/100-cross_compile.patch @@ -1,6 +1,6 @@ --- a/Makefile +++ b/Makefile -@@ -97,7 +97,7 @@ DLM:=$(shell [ -f /usr/include/libdlm.h ] || echo -DNO_DLM) +@@ -97,7 +97,7 @@ DLM:=$(shell [ -f /usr/include/libdlm.h DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\" DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\" DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\" |