diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index 60d3d13e12..02f6ba178b 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.c @@ -1,7 +1,9 @@ #include #include "../config.h" #include "rgb2rgb.h" +#ifdef HAVE_MMX #include "mmx.h" +#endif #include "../mmx_defs.h" void rgb24to32(uint8_t *src,uint8_t *dst,uint32_t src_size) diff --git a/postproc/rgb2rgb_template.c b/postproc/rgb2rgb_template.c index 60d3d13e12..02f6ba178b 100644 --- a/postproc/rgb2rgb_template.c +++ b/postproc/rgb2rgb_template.c @@ -1,7 +1,9 @@ #include #include "../config.h" #include "rgb2rgb.h" +#ifdef HAVE_MMX #include "mmx.h" +#endif #include "../mmx_defs.h" void rgb24to32(uint8_t *src,uint8_t *dst,uint32_t src_size)