[coreboot-gerrit] New patch to review for coreboot: ec/google/chromeec/ec_commands.h: Include stdint.h

Alexandru Gagniuc (alexandrux.gagniuc@intel.com) gerrit at coreboot.org
Tue May 3 20:29:40 CEST 2016


Alexandru Gagniuc (alexandrux.gagniuc at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14589

-gerrit

commit 8395da99351bb180ea1faa1cbb3e5e9c475858f7
Author: Alexandru Gagniuc <alexandrux.gagniuc at intel.com>
Date:   Tue Apr 26 14:53:46 2016 -0700

    ec/google/chromeec/ec_commands.h: Include stdint.h
    
    This file use stdint types, but does not include the appropriate
    header. This creates a parasitic dependency on including stdint.h
    before ec_commands.h. Fix that by including the necesarry header.
    
    Change-Id: I52477028c4ba8f6ffad0356c09e5fad4972649ed
    Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc at intel.com>
---
 src/ec/google/chromeec/ec_commands.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ec/google/chromeec/ec_commands.h b/src/ec/google/chromeec/ec_commands.h
index a90e22d..b562dd6 100644
--- a/src/ec/google/chromeec/ec_commands.h
+++ b/src/ec/google/chromeec/ec_commands.h
@@ -346,6 +346,8 @@
  */
 #ifndef __ACPI__
 
+#include <stdint.h>
+
 /*
  * Define __packed if someone hasn't beat us to it.  Linux kernel style
  * checking prefers __packed over __attribute__((packed)).



More information about the coreboot-gerrit mailing list