From e625b32e060753e2029d52bc0150637f2a14cb72 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 14 Aug 2015 15:45:52 +0000
Subject: [PATCH] Should fix for OpenCV 3.0

---
 src/image.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/image.c b/src/image.c
index 92c9066..d86f752 100644
--- a/src/image.c
+++ b/src/image.c
@@ -3,6 +3,11 @@
 #include <stdio.h>
 #include <math.h>
 
+#ifdef OPENCV
+#include "opencv2/highgui/highgui_c.h"
+#include "opencv2/imgproc/imgproc_c.h"
+#endif
+
 #define STB_IMAGE_IMPLEMENTATION
 #include "stb_image.h"
 #define STB_IMAGE_WRITE_IMPLEMENTATION

--
Gitblit v1.10.0