summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/stddef.h')
-rw-r--r--payloads/libpayload/include/stddef.h4
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