summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-29 17:12:15 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-04-23 10:01:36 +0000
commitcd4fe0f718cfc49e5d58f1770e23cd065a26241e (patch)
treea1b335fc76f89e79480456e3c6cd1672f4eefb2c /src/arch/x86
parent351e3e520ba71b4aafaf930af37f78b71c1d7251 (diff)
src: include <assert.h> when appropriate
Change-Id: Ib843eb7144b7dc2932931b9e8f3f1d816bcc1e1a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/26796 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: David Guckian
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/acpigen.c1
-rw-r--r--src/arch/x86/include/arch/acpigen.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c
index 3f9f99422d..e283f4da31 100644
--- a/src/arch/x86/acpigen.c
+++ b/src/arch/x86/acpigen.c
@@ -28,6 +28,7 @@
#include <lib.h>
#include <string.h>
#include <arch/acpigen.h>
+#include <assert.h>
#include <console/console.h>
#include <device/device.h>
diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h
index 9e5769304b..6114667c6c 100644
--- a/src/arch/x86/include/arch/acpigen.h
+++ b/src/arch/x86/include/arch/acpigen.h
@@ -18,7 +18,6 @@
#ifndef LIBACPI_H
#define LIBACPI_H
-#include <assert.h>
#include <stdlib.h>
#include <stdint.h>
#include <arch/acpi.h>