summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2016-09-01 09:26:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-02 17:16:12 -0400
commit23a09da9eb2c391e663d3a80fd32cbba1d6aa52a (patch)
tree5b6b4dc66ba0db0e3fe9804a31298b6d46c48837
parent7ee0e5c4928d42ba55d2647325f8a955ce02ac04 (diff)
downloadtalos-hostboot-23a09da9eb2c391e663d3a80fd32cbba1d6aa52a.tar.gz
talos-hostboot-23a09da9eb2c391e663d3a80fd32cbba1d6aa52a.zip
Include endian header file in p9_scan_compression.C
The p9_scan_compression code uses htobe32() and htobe64() calls. It needs to include the endian.h header file to compile in the Hostboot environment. Change-Id: I2a50641e08ac3e04276fa348853169a69784fec5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29093 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29120 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
-rw-r--r--src/import/chips/p9/utils/imageProcs/p9_scan_compression.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_scan_compression.C b/src/import/chips/p9/utils/imageProcs/p9_scan_compression.C
index 32b2826fd..8eb29d230 100644
--- a/src/import/chips/p9/utils/imageProcs/p9_scan_compression.C
+++ b/src/import/chips/p9/utils/imageProcs/p9_scan_compression.C
@@ -159,6 +159,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <endian.h>
#include "p9_scan_compression.H"
// Diagnostic aids for debugging
OpenPOWER on IntegriCloud