diff --git a/mi/mibitblt.c b/mi/mibitblt.c index 4f7e29170..84f8da65a 100644 --- a/mi/mibitblt.c +++ b/mi/mibitblt.c @@ -62,6 +62,10 @@ SOFTWARE. #include #include "servermd.h" +#ifdef __MINGW32__ +#define ffs __builtin_ffs +#endif + /* MICOPYAREA -- public entry for the CopyArea request * For each rectangle in the source region * get the pixels with GetSpans