forked from Lainports/freebsd-ports
Changes in the port:
- fix prefetch of third party software
- prefetching of distfiles has been fixed
- cmake will now throw an error in ocv_download()
if it is still called
- minor cleanup
- next step: readd some more options, and improve port for
non-poudriere users
PR: 256669
12 lines
298 B
C++
12 lines
298 B
C++
--- modules/videoio/src/cap_v4l.cpp.orig 2021-04-02 11:23:54 UTC
|
|
+++ modules/videoio/src/cap_v4l.cpp
|
|
@@ -228,7 +228,9 @@ make & enjoy!
|
|
#include <poll.h>
|
|
|
|
#ifdef HAVE_CAMV4L2
|
|
+#ifdef __linux__
|
|
#include <asm/types.h> /* for videodev2.h */
|
|
+#endif
|
|
#include <linux/videodev2.h>
|
|
#endif
|
|
|