From e29a6ac16a9f478fc00ce7cb83f3779954e3168d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 15 Mar 2019 17:05:19 +0200 Subject: [PATCH] util/sconfig: Add commonlib/helpers.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup work injects ARRAY_SIZE() in static.c Change-Id: Ifbcaa1b613aef312d3876e8b536499a9f01a8d19 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/31932 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Martin Roth --- util/sconfig/Makefile.inc | 1 + util/sconfig/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/util/sconfig/Makefile.inc b/util/sconfig/Makefile.inc index 76bbd45674..c47b43956d 100644 --- a/util/sconfig/Makefile.inc +++ b/util/sconfig/Makefile.inc @@ -4,6 +4,7 @@ sconfigobj += sconfig.tab.o sconfigobj += main.o SCONFIGFLAGS += -I$(top)/util/sconfig -I$(objutil)/sconfig +SCONFIGFLAGS += -I$(top)/src/commonlib/include $(objutil)/sconfig: mkdir -p $@ diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 265e7285cb..385ced16ab 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -15,6 +15,7 @@ */ #include +#include #include "sconfig.h" #include "sconfig.tab.h"