summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/super0.c b/super0.c
index 7bb64eb..4d02300 100644
--- a/super0.c
+++ b/super0.c
@@ -28,7 +28,11 @@
*/
#include "mdadm.h"
+#ifndef UCLIBC
#include <openssl/sha.h> /* for SHA1 */
+#else
+extern unsigned char *SHA1(unsigned char *buf, int len, unsigned char *dest);
+#endif
/*
* All handling for the 0.90.0 version superblock is in
* this file.