Since cbfs_core.h provides a macro that uses ntohl, make sure ntohl is available
authorGabe Black <gabeblack@google.com>
Fri, 16 Sep 2011 09:24:03 +0000 (02:24 -0700)
committerPeter Stuge <peter@stuge.se>
Wed, 14 Mar 2012 22:00:25 +0000 (23:00 +0100)
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>
src/include/cbfs_core.h

index 70368f8a7d812cb6fb16ddfc92f3d71a860365ca..43e6b9b1d3d7bdc8dc4c54e8162790a51cf24059 100644 (file)
@@ -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