summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/errl/plugins')
-rwxr-xr-xsrc/usr/errl/plugins/errludparser.H6
-rw-r--r--src/usr/errl/plugins/errludsensor.H3
-rw-r--r--src/usr/errl/plugins/errludstate.H3
3 files changed, 9 insertions, 3 deletions
diff --git a/src/usr/errl/plugins/errludparser.H b/src/usr/errl/plugins/errludparser.H
index 7b44109bc..ddaadade7 100755
--- a/src/usr/errl/plugins/errludparser.H
+++ b/src/usr/errl/plugins/errludparser.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -33,6 +35,7 @@
#include <netinet/in.h>
+#ifndef LOGPARSER
/**
* @brief Endian swap a uint64_t. This is not provided by in.h
*/
@@ -57,6 +60,7 @@ inline uint64_t ntohll( uint64_t i )
#else
#error Unexpected endian context.
#endif
+#endif
// FSP includes
#include <errlplugins.H>
diff --git a/src/usr/errl/plugins/errludsensor.H b/src/usr/errl/plugins/errludsensor.H
index cdca6631e..630b45591 100644
--- a/src/usr/errl/plugins/errludsensor.H
+++ b/src/usr/errl/plugins/errludsensor.H
@@ -33,8 +33,9 @@
*/
#include "errluserdetails.H"
+#ifndef LOGPARSER
#include <targeting/common/target.H>
-
+#endif
namespace ERRORLOG
{
diff --git a/src/usr/errl/plugins/errludstate.H b/src/usr/errl/plugins/errludstate.H
index ac6517b17..99d53c260 100644
--- a/src/usr/errl/plugins/errludstate.H
+++ b/src/usr/errl/plugins/errludstate.H
@@ -33,8 +33,9 @@
*/
#include "errluserdetails.H"
+#ifndef LOGPARSER
#include <targeting/common/target.H>
-
+#endif
namespace ERRORLOG
{
OpenPOWER on IntegriCloud