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:
Milan Zamazal 2024-09-02 17:42:02 +02:00 committed by Laurent Pinchart
parent a1f597478d
commit 802073e79f
7 changed files with 2 additions and 8 deletions

View file

@ -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>

View file

@ -8,7 +8,6 @@
#include "libcamera/internal/v4l2_subdevice.h"
#include <fcntl.h>
#include <iomanip>
#include <regex>
#include <sstream>
#include <string.h>

View file

@ -10,7 +10,6 @@
#include <algorithm>
#include <array>
#include <fcntl.h>
#include <iomanip>
#include <sstream>
#include <string.h>
#include <sys/ioctl.h>

View file

@ -8,7 +8,8 @@
#pragma once
#include <deque>
#include <utility>
#include <memory>
#include <vector>
#include <libcamera/base/mutex.h>
#include <libcamera/base/semaphore.h>

View file

@ -8,7 +8,6 @@
#include "v4l2_camera_proxy.h"
#include <algorithm>
#include <array>
#include <errno.h>
#include <numeric>
#include <set>

View file

@ -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>

View file

@ -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>