summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorTristan Corrick <tristan@corrick.kiwi>2018-10-31 02:28:54 +1300
committerNico Huber <nico.h@gmx.de>2018-11-01 22:24:24 +0000
commit98fb1bfa9095d79f2c0b42cb9c731003b6e6e1bf (patch)
tree6196b0b5e9abbddf8958c7436b687ff70f881189 /src/vendorcode
parent32664fd32355d2998e446c7e058e365bda3bde77 (diff)
downloadcoreboot-98fb1bfa9095d79f2c0b42cb9c731003b6e6e1bf.tar.xz
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/vendorcode')
-rw-r--r--src/vendorcode/google/chromeos/gnvs.h2
1 files changed, 2 insertions, 0 deletions
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