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 <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/709
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Gabe Black 2011-09-16 02:24:03 -07:00 committed by Peter Stuge
parent 0f995bc4e8
commit 02bb57824c
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@
#ifndef _CBFS_CORE_H_ #ifndef _CBFS_CORE_H_
#define _CBFS_CORE_H_ #define _CBFS_CORE_H_
#include <arch/byteorder.h>
/** These are standard values for the known compression /** These are standard values for the known compression
alogrithms that coreboot knows about for stages and alogrithms that coreboot knows about for stages and
payloads. Of course, other CBFS users can use whatever payloads. Of course, other CBFS users can use whatever