mirror of
https://github.com/opencv/opencv.git
synced 2025-06-17 15:20:51 +08:00
Merge pull request #16393 from alalek:build_videoio_fix_15020
This commit is contained in:
commit
8b3042da63
@ -42,6 +42,11 @@
|
|||||||
#ifndef __VIDEOIO_H_
|
#ifndef __VIDEOIO_H_
|
||||||
#define __VIDEOIO_H_
|
#define __VIDEOIO_H_
|
||||||
|
|
||||||
|
#if defined __linux__ || defined __APPLE__ || defined __HAIKU__
|
||||||
|
#include <unistd.h> // -D_FORTIFY_SOURCE=2 workaround: https://github.com/opencv/opencv/issues/15020
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "opencv2/videoio.hpp"
|
#include "opencv2/videoio.hpp"
|
||||||
#include "opencv2/videoio/legacy/constants_c.h"
|
#include "opencv2/videoio/legacy/constants_c.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user