summaryrefslogtreecommitdiff
path: root/src/commonlib/bsd/include
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@chromium.org>2022-03-25 16:30:07 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-04-28 12:55:32 +0000
commitbe345c0bb48712bed1e653022cd2b9baae42a9c8 (patch)
treec535d5556b90e55d263bd454cf07b04dda64074b /src/commonlib/bsd/include
parentc814fa591569378fa0bda243fa568aec94288668 (diff)
commonlib/bsd/elog: Include <stdint.h> instead of <inttypes.h>
The header file <inttypes.h> includes <stdint.h> and defines some additional PRI* macros. Since elog.h and elog.c do not use any of the PRI* macro, we should include <stdint.h> directly. Change-Id: Iac1f4f53e43f171ecef95533cd6a3bf5dff64ec4 Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63113 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/commonlib/bsd/include')
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/elog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h
index 29c781b6f5..35a42e6b23 100644
--- a/src/commonlib/bsd/include/commonlib/bsd/elog.h
+++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h
@@ -3,7 +3,7 @@
#ifndef _COMMONLIB_BSD_ELOG_H_
#define _COMMONLIB_BSD_ELOG_H_
-#include <inttypes.h>
+#include <stdint.h>
#include <commonlib/bsd/cb_err.h>