11 @@ -42,6 +43,13 @@ static int bmp_read_rle(gdImagePtr im, g
15 +#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_LONG_DOUBLE_MATH__)
16 +long double ceill(long double x)
18 + return (long double)ceil((double)x);
22 static int gdBMPPutWord(gdIOCtx *out, int w)
24 /* Byte order is little-endian */