From: Gabe Black Date: Fri, 16 Sep 2011 09:24:03 +0000 (-0700) Subject: Since cbfs_core.h provides a macro that uses ntohl, make sure ntohl is available X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=02bb57824c025d6955d1b6337c0baefcaaa60994;hp=0f995bc4e84868e436f6e0efe3b639658bc7b539;p=coreboot.git Since cbfs_core.h provides a macro that uses ntohl, make sure ntohl is available Since cbfs_core.h provides a macro that uses ntohl, make sure ntohl is available by including byteorder.h Change-Id: I9ab8cb51bd680e861b28d5130d09547bb9ab3b1f Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/709 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge --- diff --git a/src/include/cbfs_core.h b/src/include/cbfs_core.h index 70368f8a7..43e6b9b1d 100644 --- a/src/include/cbfs_core.h +++ b/src/include/cbfs_core.h @@ -49,6 +49,8 @@ #ifndef _CBFS_CORE_H_ #define _CBFS_CORE_H_ +#include + /** These are standard values for the known compression alogrithms that coreboot knows about for stages and payloads. Of course, other CBFS users can use whatever