diff options
author | Nico Huber <nico.huber@secunet.com> | 2021-06-16 17:54:50 +0000 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2021-06-18 04:37:18 +0000 |
commit | 0a31d5e7f57e4dfafa86034a74ec9e59c896086f (patch) | |
tree | 152277e59d02ca09662af1d9d5f2fd04bf927e9d /payloads | |
parent | 9418e33aef0b5d3209ba3cb6147908dde5846e06 (diff) | |
download | coreboot-0a31d5e7f57e4dfafa86034a74ec9e59c896086f.tar.gz |
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>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/include/stddef.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/libpayload/include/stddef.h b/payloads/libpayload/include/stddef.h index 725ff0bcb5..18c22f02a8 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 @@ typedef __SIZE_TYPE__ ssize_t; #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 |