diff --git a/src/libcamera/include/v4l2_videodevice.h b/src/libcamera/include/v4l2_videodevice.h index 04802012d..d051c9060 100644 --- a/src/libcamera/include/v4l2_videodevice.h +++ b/src/libcamera/include/v4l2_videodevice.h @@ -9,6 +9,7 @@ #include #include +#include #include #include @@ -142,7 +143,7 @@ private: std::vector planes_; }; - std::atomic_uint64_t lastUsedCounter_; + std::atomic lastUsedCounter_; std::vector cache_; /* \todo Expose the miss counter through an instrumentation API. */ unsigned int missCounter_;