diff options
author | Tristan Corrick <tristan@corrick.kiwi> | 2018-10-31 02:28:54 +1300 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-11-01 22:24:24 +0000 |
commit | 98fb1bfa9095d79f2c0b42cb9c731003b6e6e1bf (patch) | |
tree | 6196b0b5e9abbddf8958c7436b687ff70f881189 /src | |
parent | 32664fd32355d2998e446c7e058e365bda3bde77 (diff) |
sb/intel/lynxpoint: Include <stdint.h> to fix compilation errors
If the file `southbridge/intel/lynxpoint/nvs.h` is included in a file
that does not already include <stdint.h>, compilation errors result.
Adding the necessary <stdint.h> inclusions fixes compilation for an
ASRock H81M-HDS.
Change-Id: Id0d14705282cc959146e00dd47754ee8a2e8e825
Signed-off-by: Tristan Corrick <tristan@corrick.kiwi>
Reviewed-on: https://review.coreboot.org/29389
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/southbridge/intel/lynxpoint/nvs.h | 1 | ||||
-rw-r--r-- | src/vendorcode/google/chromeos/gnvs.h | 2 |
2 files changed, 3 insertions, 0 deletions
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 <commonlib/helpers.h> +#include <stdint.h> #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 <stdint.h> + #define BOOT_REASON_OTHER 0 #define BOOT_REASON_S3DIAG 9 |