summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2019-10-09 23:40:38 -0700
committerCommit Bot <commit-bot@chromium.org>2019-10-18 07:05:12 +0000
commit107d51a25da8f91437d5c66283b420844ee74fbf (patch)
tree308dbbdb3aa9f072f0a2c9be3fb61bdfa3681622
parente4fe08f268f7fdb38f3bcce1889475fc0f2d841f (diff)
downloadchrome-ec-107d51a25da8f91437d5c66283b420844ee74fbf.tar.gz
panic.h: include required stdint.h
panic.h uses types from stdint.h, so it should really include it by default. also, order standard header files ahead of project specific header files. BRANCH=none BUG=b:142031466 TEST=make buildall passes Change-Id: I8ac6d42f1da412bd3ce20df2838b8e420ad25e52 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1855643 Tested-by: Caveh Jalali <caveh@google.com> Commit-Queue: Caveh Jalali <caveh@google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--include/panic.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/panic.h b/include/panic.h
index 80a8fe1125..41b941d1ef 100644
--- a/include/panic.h
+++ b/include/panic.h
@@ -9,9 +9,10 @@
#ifndef __CROS_EC_PANIC_H
#define __CROS_EC_PANIC_H
-#include "software_panic.h"
-
#include <stdarg.h>
+#include <stdint.h>
+
+#include "software_panic.h"
#ifdef __cplusplus
extern "C" {