summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/x86
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-04-08 16:55:47 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-04-18 02:50:28 +0200
commit6ceed0929d1e11c9d8807427750bb6e4f14806fd (patch)
tree3ff6a06a608178d8e46aadd0d51e1a9806db25b9 /payloads/libpayload/include/x86
parentba7ed4b6a1965692057710d61eacde14b2b58424 (diff)
downloadcoreboot-6ceed0929d1e11c9d8807427750bb6e4f14806fd.tar.xz
libpayload: Don't sneak in compiler includes
The way we got to include the compiler includes was kind of whacky. Instead of mixing in potentially problematic headers, make libpayload self-contained by adding some missing header files. Also clean up conflicting definitions of size_t throughout the tree. Signed-off-by: Stefan Reinauer <reinauer@google.com> Change-Id: I0ad1194de1a00b7133c5477c00eb167d63a2ee85 Reviewed-on: https://gerrit.chromium.org/gerrit/47608 Reviewed-by: Ronald G. Minnich <rminnich@chromium.org> Commit-Queue: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3058 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/include/x86')
-rw-r--r--payloads/libpayload/include/x86/arch/types.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/payloads/libpayload/include/x86/arch/types.h b/payloads/libpayload/include/x86/arch/types.h
index bb4025714f..1bd815bb44 100644
--- a/payloads/libpayload/include/x86/arch/types.h
+++ b/payloads/libpayload/include/x86/arch/types.h
@@ -53,9 +53,6 @@ typedef signed long long s64;
typedef long time_t;
typedef long suseconds_t;
-typedef unsigned long size_t;
-typedef long ssize_t;
-
#ifndef NULL
#define NULL ((void *)0)
#endif