summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-12-15 17:49:12 -0600
committerAaron Durbin <adurbin@chromium.org>2016-01-06 01:11:32 +0100
commitca0a67624b6f38b0a6c86171950b5c2c6507f2ce (patch)
tree67f4a17496ab9708bf04d51af47d668e427030a5 /src/include
parent295d58bda85ce30724a3fff87d60b323373f6e5f (diff)
downloadcoreboot-ca0a67624b6f38b0a6c86171950b5c2c6507f2ce.tar.xz
commonlib: Prepare code to be included in cbfstool builds.
Some of the files need to be adjusted so that they can be used both in cbfstool as well as coreboot proper. For coreboot, add a <sys/types.h> file such that proper types can be included from both the tools and coreboot. The other chanes are to accomodate stricter checking in cbfstool. BUG=chrome-os-partner:48412 BUG=chromium:445938 BRANCH=None TEST=Built on glados including tools. Booted. Change-Id: I771c6675c64b8837f775427721dd3300a8fa1bc0 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/12784 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sys/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/sys/types.h b/src/include/sys/types.h
new file mode 100644
index 0000000000..fa95d570b0
--- /dev/null
+++ b/src/include/sys/types.h
@@ -0,0 +1 @@
+#include "../types.h"