summaryrefslogtreecommitdiff
path: root/include/libcamera/framebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/framebuffer.h')
-rw-r--r--include/libcamera/framebuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h
index 2fbea9c5..357bbe18 100644
--- a/include/libcamera/framebuffer.h
+++ b/include/libcamera/framebuffer.h
@@ -13,7 +13,7 @@
#include <vector>
#include <libcamera/base/class.h>
-#include <libcamera/base/file_descriptor.h>
+#include <libcamera/base/shared_fd.h>
#include <libcamera/base/span.h>
namespace libcamera {
@@ -51,7 +51,7 @@ class FrameBuffer final : public Extensible
public:
struct Plane {
static constexpr unsigned int kInvalidOffset = std::numeric_limits<unsigned int>::max();
- FileDescriptor fd;
+ SharedFD fd;
unsigned int offset = kInvalidOffset;
unsigned int length;
};