aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/mdadm/patches/000-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/mdadm/patches/000-compile.patch')
-rw-r--r--package/utils/mdadm/patches/000-compile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/utils/mdadm/patches/000-compile.patch b/package/utils/mdadm/patches/000-compile.patch
new file mode 100644
index 0000000000..6d47489163
--- /dev/null
+++ b/package/utils/mdadm/patches/000-compile.patch
@@ -0,0 +1,11 @@
+--- a/sha1.h
++++ b/sha1.h
+@@ -26,8 +26,6 @@
+ # include <limits.h>
+ #endif
+
+-#include "ansidecl.h"
+-
+ /* The following contortions are an attempt to use the C preprocessor
+ to determine an unsigned integral type that is 32 bits wide. An
+ alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but