diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | md5.h | 2 | ||||
-rw-r--r-- | mdadm.h | 5 |
3 files changed, 5 insertions, 5 deletions
@@ -106,9 +106,6 @@ mdadm.static : $(OBJS) $(STATICOBJS) mdadm.tcc : $(SRCS) mdadm.h $(TCC) -o mdadm.tcc $(SRCS) -dadm.uclibc : $(SRCS) mdadm.h - $(UCLIBC_GCC) -DUCLIBC -DHAVE_STDINT_H -o mdadm.uclibc $(SRCS) $(STATICSRC) - mdadm.klibc : $(SRCS) mdadm.h rm -f $(OBJS) gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIBC)/linux/include -I$(KLIBC)/klibc/arch/i386/include -I$(KLIBC)/klibc/include/bits32 $(CFLAGS) $(SRCS) @@ -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 @@ -383,8 +383,11 @@ struct stat64; #define HAVE_NFTW we assume #define HAVE_FTW -#ifdef UCLIBC +#ifdef __UCLIBC__ # include <features.h> +# ifndef __UCLIBC_HAS_LFS__ +# define lseek64 lseek +# endif # ifndef __UCLIBC_HAS_FTW__ # undef HAVE_FTW # undef HAVE_NFTW |