libcamera: v4l2: Remove unused includes
The includes that are not used can be removed. Also, some directly used includes not listed are added. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
a1f597478d
commit
802073e79f
@@ -8,8 +8,6 @@
|
||||
#include "libcamera/internal/v4l2_device.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <iomanip>
|
||||
#include <limits.h>
|
||||
#include <map>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "libcamera/internal/v4l2_subdevice.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <iomanip>
|
||||
#include <regex>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <fcntl.h>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <deque>
|
||||
#include <utility>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/mutex.h>
|
||||
#include <libcamera/base/semaphore.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "v4l2_camera_proxy.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <errno.h>
|
||||
#include <numeric>
|
||||
#include <set>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "v4l2_compat_manager.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdarg.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <dlfcn.h>
|
||||
#include <fcntl.h>
|
||||
#include <map>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <sys/eventfd.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
Reference in New Issue
Block a user