From f831082a0914597220ae1920ca1cd5e38b12c420 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Tue, 17 Jul 2018 10:10:22 +0200 Subject: [PATCH] config: Add missing header The object_config structure embeds some cedrus.h defines, without including its header, resulting in a compilation breakage if we don't include sunxi_cedrus.h before config.h. Fix this. Signed-off-by: Maxime Ripard --- src/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.h b/src/config.h index 7493c5d..2288c4d 100644 --- a/src/config.h +++ b/src/config.h @@ -29,6 +29,7 @@ #include #include "object_heap.h" +#include "sunxi_cedrus.h" #define CONFIG(data, id) ((struct object_config *) object_heap_lookup(&(data)->config_heap, id)) #define CONFIG_ID_OFFSET 0x01000000