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>
This commit is contained in:
parent
c814fa5915
commit
be345c0bb4
|
@ -3,7 +3,7 @@
|
||||||
#ifndef _COMMONLIB_BSD_ELOG_H_
|
#ifndef _COMMONLIB_BSD_ELOG_H_
|
||||||
#define _COMMONLIB_BSD_ELOG_H_
|
#define _COMMONLIB_BSD_ELOG_H_
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <commonlib/bsd/cb_err.h>
|
#include <commonlib/bsd/cb_err.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue