[coreboot-gerrit] Change in coreboot[master]: sb/intel/lynxpoint: Include <stdint.h> to fix compilation errors

Tristan Corrick (Code Review) gerrit at coreboot.org
Wed Oct 31 13:45:09 CET 2018


Tristan Corrick has uploaded this change for review. ( https://review.coreboot.org/29389


Change subject: sb/intel/lynxpoint: Include <stdint.h> to fix compilation errors
......................................................................

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 at corrick.kiwi>
---
M src/southbridge/intel/lynxpoint/nvs.h
M src/vendorcode/google/chromeos/gnvs.h
2 files changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/29389/1

diff --git a/src/southbridge/intel/lynxpoint/nvs.h b/src/southbridge/intel/lynxpoint/nvs.h
index 397cdf2..a8f0dea 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 7e97bfa..76ca20c 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
 

-- 
To view, visit https://review.coreboot.org/29389
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0d14705282cc959146e00dd47754ee8a2e8e825
Gerrit-Change-Number: 29389
Gerrit-PatchSet: 1
Gerrit-Owner: Tristan Corrick <tristan at corrick.kiwi>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181031/74f15cc3/attachment-0001.html>


More information about the coreboot-gerrit mailing list