diff --git a/src/video_capture/v4l2.c b/src/video_capture/v4l2.c index b958b1e04..04ff47f40 100644 --- a/src/video_capture/v4l2.c +++ b/src/video_capture/v4l2.c @@ -5,7 +5,7 @@ * @author Martin Pulec */ /* - * Copyright (c) 2012-2023 CESNET, z. s. p. o. + * Copyright (c) 2012-2024 CESNET, z. s. p. o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -39,12 +39,8 @@ #ifdef HAVE_CONFIG_H #include "config.h" -#include "config_unix.h" -#include "config_win32.h" #endif /* HAVE_CONFIG_H */ -#include "video_capture.h" - #ifdef HAVE_LIBV4LCONVERT #include #endif @@ -54,13 +50,17 @@ #define KERNEL_VERSION(x,y,z) -1 #endif +#include +#include +#include #include #include #include #include -#include +#include #include #include +#include #define DEFAULT_BUF_COUNT 2 #define MAX_BUF_COUNT 30 @@ -73,8 +73,9 @@ #include "utils/color_out.h" #include "utils/list.h" #include "utils/misc.h" // ug_strerror -#include "video.h" #include "v4l2_common.h" +#include "video.h" +#include "video_capture.h" /* prototypes of functions defined in this module */ static void print_fps(int fd, struct v4l2_frmivalenum *param);