From 908ff5ecac9065e4c903ae37c70e35d6aaf20108 Mon Sep 17 00:00:00 2001 From: Corey Osgood Date: Wed, 7 Nov 2007 19:02:35 +0000 Subject: This patch masks the function prototypes in stdlib.h from ROMCC, so that ARRAY_SIZE() can be used on ROMCC-dependent systems. Also adds stdlib.h to vt8237r_early_smbus.c, so it'll build on those systems. Signed-off-by: Corey Osgood Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2949 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/via/vt8237r/vt8237r_early_smbus.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/southbridge') diff --git a/src/southbridge/via/vt8237r/vt8237r_early_smbus.c b/src/southbridge/via/vt8237r/vt8237r_early_smbus.c index 8922188a70..bbc2daa3d4 100644 --- a/src/southbridge/via/vt8237r/vt8237r_early_smbus.c +++ b/src/southbridge/via/vt8237r/vt8237r_early_smbus.c @@ -21,6 +21,7 @@ #include #include +#include #include "vt8237r.h" /** -- cgit v1.2.3