37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From a46598389950a9764399667c7d30f318c95ffd0a Mon Sep 17 00:00:00 2001
|
|
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
|
Date: Wed, 1 Aug 2018 23:21:24 +0100
|
|
Subject: [PATCH] fix build with glibc-2.28
|
|
|
|
---
|
|
lib/libv4lconvert/control/libv4lcontrol.c | 1 +
|
|
utils/v4l2-ctl/v4l2-ctl.cpp | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c
|
|
index 1e784ed..1252847 100644
|
|
--- a/lib/libv4lconvert/control/libv4lcontrol.c
|
|
+++ b/lib/libv4lconvert/control/libv4lcontrol.c
|
|
@@ -26,6 +26,7 @@
|
|
#include <sys/mman.h>
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
#include <fnmatch.h>
|
|
diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
|
|
index e02dc75..287114b 100644
|
|
--- a/utils/v4l2-ctl/v4l2-ctl.cpp
|
|
+++ b/utils/v4l2-ctl/v4l2-ctl.cpp
|
|
@@ -28,6 +28,7 @@
|
|
#include <getopt.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
+#include <sys/sysmacros.h>
|
|
#include <fcntl.h>
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
--
|
|
2.14.1
|
|
|