mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
multimedia/libv4l: fix build on big-endian architectures
Include sys/endian.h: v4l2-ctl-vidcap.cpp:378:38: error: 'le16toh' was not declared in this scope
This commit is contained in:
parent
4b04575c4f
commit
02eb878f5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559701
@ -0,0 +1,10 @@
|
||||
--- utils/v4l2-ctl/v4l2-ctl-vidcap.cpp.orig 2020-12-30 21:13:40 UTC
|
||||
+++ utils/v4l2-ctl/v4l2-ctl-vidcap.cpp
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <dirent.h>
|
||||
#include <math.h>
|
||||
#include <cstdlib>
|
||||
+#include <sys/endian.h>
|
||||
|
||||
#include "v4l2-ctl.h"
|
||||
|
Loading…
Reference in New Issue
Block a user