1 diff --git utils/v4l2-ctl/v4l2-ctl-overlay.cpp utils/v4l2-ctl/v4l2-ctl-overlay.cpp
2 index 5493222dd..1f0a6f47f 100644
3 --- utils/v4l2-ctl/v4l2-ctl-overlay.cpp
4 +++ utils/v4l2-ctl/v4l2-ctl-overlay.cpp
5 @@ -1,10 +1,11 @@
6  #include <array>
7  #include <vector>
8 
9 -#include <linux/fb.h>
10 -
11  #include "v4l2-ctl.h"
12 
13 +#ifndef __FreeBSD__
14 +#include <linux/fb.h>
15 +
16  static unsigned int set_fbuf;
17  static unsigned int set_overlay_fmt;
18  static struct v4l2_format overlay_fmt;	/* set_format/get_format video overlay */
19 @@ -527,3 +528,24 @@ void overlay_list(cv4l_fd &fd)
20  	if (options[OptFindFb])
21  		find_fb(fd.g_fd());
22  }
23 +#else
24 +void overlay_usage(void)
25 +{
26 +}
27 +
28 +void overlay_cmd(int ch, char *optarg)
29 +{
30 +}
31 +
32 +void overlay_set(cv4l_fd &_fd)
33 +{
34 +}
35 +
36 +void overlay_get(cv4l_fd &_fd)
37 +{
38 +}
39 +
40 +void overlay_list(cv4l_fd &fd)
41 +{
42 +}
43 +#endif
44