summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ipa/ipa_controls.h2
-rw-r--r--src/libcamera/ipa_controls.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ipa/ipa_controls.h b/include/ipa/ipa_controls.h
index 426d9968..6371e345 100644
--- a/include/ipa/ipa_controls.h
+++ b/include/ipa/ipa_controls.h
@@ -7,6 +7,8 @@
#ifndef __LIBCAMERA_IPA_CONTROLS_H__
#define __LIBCAMERA_IPA_CONTROLS_H__
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/src/libcamera/ipa_controls.cpp b/src/libcamera/ipa_controls.cpp
index 6ea71bc6..dd3ff9a0 100644
--- a/src/libcamera/ipa_controls.cpp
+++ b/src/libcamera/ipa_controls.cpp
@@ -2,9 +2,11 @@
/*
* Copyright (C) 2019, Google Inc.
*
- * ipa_controls.h - IPA control handling
+ * ipa_controls.cpp - IPA control handling
*/
+#include <ipa/ipa_controls.h>
+
/**
* \file ipa_controls.h
* \brief Type definitions for serialized controls