summaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
authorAlexandru Gagniuc <alexandrux.gagniuc@intel.com>2016-04-26 14:53:46 -0700
committerMartin Roth <martinroth@google.com>2016-05-06 18:57:13 +0200
commit0d3a5126db2e9da4314915689b92ae10a0ce3a7d (patch)
tree0431981a88212191dc6467f778881549b9662ad3 /src/ec/google
parent5ff7031f729a319f35c9acdc1526a115a925398e (diff)
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@intel.com> Reviewed-on: https://review.coreboot.org/14589 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/ec_commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/ec_commands.h b/src/ec/google/chromeec/ec_commands.h
index a90e22dc98..b562dd62d8 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)).