From 599158e2eed46bbab4f782fa7c39ce5d44c13cff Mon Sep 17 00:00:00 2001 From: Pandora Date: Fri, 8 Dec 2017 22:26:20 -0500 Subject: [PATCH] fix compiling on ARM thanks toshi --- blur_simd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blur_simd.c b/blur_simd.c index 1cc2711..4c1a424 100644 --- a/blur_simd.c +++ b/blur_simd.c @@ -7,12 +7,12 @@ * */ -#include "blur.h" -#include // number of xmm registers needed to store input pixels for given kernel size -#define REGISTERS_CNT (KERNEL_SIZE + 4/2) / 4 #ifdef __SSE2__ +#include "blur.h" +#define REGISTERS_CNT (KERNEL_SIZE + 4/2) / 4 +#include void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height) { uint32_t* o_src = src; for (int row = 0; row < height; row++) {