From 98fb1bfa9095d79f2c0b42cb9c731003b6e6e1bf Mon Sep 17 00:00:00 2001 From: Tristan Corrick Date: Wed, 31 Oct 2018 02:28:54 +1300 Subject: sb/intel/lynxpoint: Include to fix compilation errors If the file `southbridge/intel/lynxpoint/nvs.h` is included in a file that does not already include , compilation errors result. Adding the necessary inclusions fixes compilation for an ASRock H81M-HDS. Change-Id: Id0d14705282cc959146e00dd47754ee8a2e8e825 Signed-off-by: Tristan Corrick Reviewed-on: https://review.coreboot.org/29389 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/southbridge/intel/lynxpoint/nvs.h | 1 + src/vendorcode/google/chromeos/gnvs.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/southbridge/intel/lynxpoint/nvs.h b/src/southbridge/intel/lynxpoint/nvs.h index 397cdf2289..a8f0dea83c 100644 --- a/src/southbridge/intel/lynxpoint/nvs.h +++ b/src/southbridge/intel/lynxpoint/nvs.h @@ -15,6 +15,7 @@ */ #include +#include #include "vendorcode/google/chromeos/gnvs.h" typedef struct global_nvs_t { diff --git a/src/vendorcode/google/chromeos/gnvs.h b/src/vendorcode/google/chromeos/gnvs.h index 7e97bfaa75..76ca20c294 100644 --- a/src/vendorcode/google/chromeos/gnvs.h +++ b/src/vendorcode/google/chromeos/gnvs.h @@ -16,6 +16,8 @@ #ifndef __VENDORCODE_GOOGLE_CHROMEOS_GNVS_H #define __VENDORCODE_GOOGLE_CHROMEOS_GNVS_H +#include + #define BOOT_REASON_OTHER 0 #define BOOT_REASON_S3DIAG 9 -- cgit v1.2.3