[coreboot-gerrit] New patch to review for coreboot: 29b74c5 Fix compile error in chromeos by adding stddef.h

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Mon Nov 18 23:04:29 CET 2013

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4131


commit 29b74c5ccf3f1cba52cfa98e0bb33ec7c29aedc0
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Mon Apr 8 09:32:12 2013 -0700

    Fix compile error in chromeos by adding stddef.h
    Compile was failing with the following error:
    In file included from src/vendorcode/google/chromeos/vboot_handoff.h:22:0,
                     from src/vendorcode/google/chromeos/chromeos.c:22:
    vboot_reference/firmware/include/vboot_api.h:388:18: error: unknown type name 'size_t'
    src/vendorcode/google/chromeos/chromeos.c: In function 'vboot_get_payload':
    src/vendorcode/google/chromeos/chromeos.c:50:23: error: 'NULL' undeclared (first use in this function)
    Change-Id: I13f9e41ef6a4151dc65a49eacfa0574083f72978
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://gerrit.chromium.org/gerrit/48289
 src/vendorcode/google/chromeos/chromeos.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vendorcode/google/chromeos/chromeos.c b/src/vendorcode/google/chromeos/chromeos.c
index 658694d..6f1fe72 100644
--- a/src/vendorcode/google/chromeos/chromeos.c
+++ b/src/vendorcode/google/chromeos/chromeos.c
@@ -17,6 +17,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#include <stddef.h>
 #include "chromeos.h"
 #include "vboot_handoff.h"

More information about the coreboot-gerrit mailing list