summaryrefslogtreecommitdiff
path: root/multimedia/libv4l/files/patch-utils_v4l2-ctl_v4l2-ctl-overlay.cpp
blob: 4e10a8c8fdaac1a2bb961e642a88a848fa9f4636 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- utils/v4l2-ctl/v4l2-ctl-overlay.cpp.orig	2020-04-09 16:29:54 UTC
+++ utils/v4l2-ctl/v4l2-ctl-overlay.cpp
@@ -14,11 +14,12 @@
 #include <dirent.h>
 #include <math.h>
 
+#include "v4l2-ctl.h"
+
+#ifndef __FreeBSD__
 #include <linux/fb.h>
 #include <vector>
 
-#include "v4l2-ctl.h"
-
 static unsigned int set_fbuf;
 static unsigned int set_overlay_fmt;
 static struct v4l2_format overlay_fmt;	/* set_format/get_format video overlay */
@@ -546,3 +547,24 @@ void overlay_list(cv4l_fd &fd)
 	if (options[OptFindFb])
 		find_fb(fd.g_fd());
 }
+#else
+void overlay_usage(void)
+{
+}
+
+void overlay_cmd(int ch, char *optarg)
+{
+}
+
+void overlay_set(cv4l_fd &_fd)
+{
+}
+
+void overlay_get(cv4l_fd &_fd)
+{
+}
+
+void overlay_list(cv4l_fd &fd)
+{
+}
+#endif