diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h
index 7b657509ab5f5d41..e14c9bd390a13bfc 100644
--- a/include/libcamera/buffer.h
+++ b/include/libcamera/buffer.h
@@ -13,7 +13,6 @@
 
 namespace libcamera {
 
-class BufferPool;
 class Request;
 class Stream;
 
