commit | 0a31d5e7f57e4dfafa86034a74ec9e59c896086f | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.huber@secunet.com> | Wed Jun 16 17:54:50 2021 +0000 |
committer | Werner Zeh <werner.zeh@siemens.com> | Fri Jun 18 04:37:18 2021 +0000 |
tree | 152277e59d02ca09662af1d9d5f2fd04bf927e9d | |
parent | 9418e33aef0b5d3209ba3cb6147908dde5846e06 [diff] |
includes: Add include guards to `stddef.h` Change-Id: Ifae4f07abd75da9784967c2020eed2c3fe64afa0 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55589 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/payloads/libpayload/include/stddef.h b/payloads/libpayload/include/stddef.h index 725ff0b..18c22f0 100644 --- a/payloads/libpayload/include/stddef.h +++ b/payloads/libpayload/include/stddef.h
@@ -1,3 +1,5 @@ +#ifndef _STDDEF_H +#define _STDDEF_H #include <arch/types.h> @@ -35,3 +37,5 @@ #define NSECS_PER_MSEC (NSECS_PER_SEC / MSECS_PER_SEC) #define NSECS_PER_USEC (NSECS_PER_SEC / USECS_PER_SEC) #define USECS_PER_MSEC (USECS_PER_SEC / MSECS_PER_SEC) + +#endif