summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-28 02:50:23 +0100
committeriphydf <iphydf@users.noreply.github.com>2018-08-30 21:11:17 +0000
commit515196dfa2097a9a9f04eeff5130860fc4137b0f (patch)
treec0edcfdbee554870efccbc2d8d01074cd1b71fae /testing
parent18117581bdc52752f77d178a990e3863a9bbbf19 (diff)
Include necessary opencv2 header on OSX.
opencv2 is deprecated and homebrew ships with opencv3 now.
Diffstat (limited to 'testing')
-rw-r--r--testing/av_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/av_test.c b/testing/av_test.c
index d27a2e6f..18bb3105 100644
--- a/testing/av_test.c
+++ b/testing/av_test.c
@@ -63,6 +63,9 @@ extern "C" {
63#include <opencv/cv.h> 63#include <opencv/cv.h>
64#include <opencv/cvwimage.h> 64#include <opencv/cvwimage.h>
65#include <opencv/highgui.h> 65#include <opencv/highgui.h>
66#ifdef __APPLE__
67#include <opencv2/videoio/videoio_c.h>
68#endif
66 69
67#include <assert.h> 70#include <assert.h>
68#include <sched.h> 71#include <sched.h>