diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-12-08 17:00:59 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-02-01 23:53:51 +0100 |
commit | 2df1f269113c687e0c23fad2ca9bcf3c4dcbb382 (patch) | |
tree | f8e98885a2ce90d730c404abbc13b0f10539c93e /md5.h | |
parent | Fail overtly when asprintf fails to allocate memory (diff) | |
download | mdadm-2df1f269113c687e0c23fad2ca9bcf3c4dcbb382.tar.xz mdadm-2df1f269113c687e0c23fad2ca9bcf3c4dcbb382.zip |
mdadm fix compilation for uClibc
2008-12-08 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Makefile (dadm.uclibc): Remove misspelled and unneeded rule.
* md5.h: Include stdint.h for uClibc.
* mdadm.h: uClibc defines __UCLIBC__. If uClibc has LFS off
then use lseek instead of lseek64.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'md5.h')
-rw-r--r-- | md5.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ #if HAVE_INTTYPES_H # include <inttypes.h> #endif -#if HAVE_STDINT_H || _LIBC +#if HAVE_STDINT_H || _LIBC || defined __UCLIBC__ # include <stdint.h> #endif |