spa: libcamera: clean up includes

Remove some unnecessarily includes.

(cherry picked from commit 5a9cdd724f)
This commit is contained in:
Barnabás Pőcze 2025-07-12 17:45:50 +02:00 committed by Robert Mader
parent de97a682f2
commit 60d95e447a
4 changed files with 2 additions and 19 deletions

View file

@ -4,10 +4,7 @@
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans <wim.taymans@gmail.com> */ /* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans <wim.taymans@gmail.com> */
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
#include "config.h" #include <cstddef>
#include <stddef.h>
#include <sstream> #include <sstream>
#include <spa/support/plugin.h> #include <spa/support/plugin.h>

View file

@ -2,13 +2,7 @@
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */ /* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
#include <stddef.h> #include <cstddef>
#include <stdio.h>
#include <unistd.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <utility> #include <utility>
#include <mutex> #include <mutex>
#include <optional> #include <optional>
@ -17,8 +11,6 @@
#include <libcamera/camera.h> #include <libcamera/camera.h>
#include <libcamera/camera_manager.h> #include <libcamera/camera_manager.h>
#include <linux/videodev2.h>
using namespace libcamera; using namespace libcamera;
#include <spa/support/log.h> #include <spa/support/log.h>

View file

@ -4,9 +4,6 @@
/* SPDX-License-Identifier: MIT */ /* SPDX-License-Identifier: MIT */
#include <stddef.h> #include <stddef.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <deque> #include <deque>
#include <optional> #include <optional>

View file

@ -6,11 +6,8 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include <sched.h>
#include <errno.h> #include <errno.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <poll.h>
#include <limits.h> #include <limits.h>
#include <linux/media.h> #include <linux/media.h>