aboutsummaryrefslogtreecommitdiff
path: root/include/lib/libc/aarch64/stddef_.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/libc/aarch64/stddef_.h')
-rw-r--r--include/lib/libc/aarch64/stddef_.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/lib/libc/aarch64/stddef_.h b/include/lib/libc/aarch64/stddef_.h
new file mode 100644
index 000000000..b7d8209af
--- /dev/null
+++ b/include/lib/libc/aarch64/stddef_.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef STDDEF__H
+#define STDDEF__H
+
+#ifndef SIZET_
+typedef unsigned long size_t;
+#define SIZET_
+#endif
+
+#ifndef _PTRDIFF_T
+typedef long ptrdiff_t;
+#define _PTRDIFF_T
+#endif
+
+#endif /* STDDEF__H */