summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--postproc/rgb2rgb.c2
-rw-r--r--postproc/rgb2rgb_template.c2
2 files changed, 4 insertions, 0 deletions
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 <inttypes.h>
#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 <inttypes.h>
#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)