summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2011-09-16 02:24:03 -0700
committerPeter Stuge <peter@stuge.se>2012-03-14 23:00:25 +0100
commit02bb57824c025d6955d1b6337c0baefcaaa60994 (patch)
tree20fe2ccde2c51a1d17ebd6793c782c99842360ef /src
parent0f995bc4e84868e436f6e0efe3b639658bc7b539 (diff)
downloadcoreboot-02bb57824c025d6955d1b6337c0baefcaaa60994.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/include/cbfs_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbfs_core.h b/src/include/cbfs_core.h
index 70368f8a7d..43e6b9b1d3 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 <arch/byteorder.h>
+
/** 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