summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/base/thread_annotations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/base/thread_annotations.h b/include/libcamera/base/thread_annotations.h
index e81929f6..25b3c7b6 100644
--- a/include/libcamera/base/thread_annotations.h
+++ b/include/libcamera/base/thread_annotations.h
@@ -7,6 +7,8 @@
#pragma once
+#include <libcamera/base/private.h>
+
/*
* Enable thread safety attributes only with clang.
* The attributes can be safely erased when compiling with other compilers.