Dan Gora
2013-03-22 00:08:16 UTC
The BSWAP_32 macro was added for big endian machines in these files,
but the author forgot to include the necessary header file which
defines it.
Signed-off-by: Dan Gora <***@adax.com>
---
ipmitool/lib/ipmi_chassis.c | 1 +
ipmitool/lib/ipmi_pef.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ipmitool/lib/ipmi_chassis.c b/ipmitool/lib/ipmi_chassis.c
index 9f71d32..f0d4877 100644
--- a/ipmitool/lib/ipmi_chassis.c
+++ b/ipmitool/lib/ipmi_chassis.c
@@ -45,6 +45,7 @@
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_strings.h>
#include <ipmitool/ipmi_chassis.h>
+#include <ipmitool/bswap.h>
extern int verbose;
diff --git a/ipmitool/lib/ipmi_pef.c b/ipmitool/lib/ipmi_pef.c
index 1c0e378..2228b91 100644
--- a/ipmitool/lib/ipmi_pef.c
+++ b/ipmitool/lib/ipmi_pef.c
@@ -43,6 +43,7 @@
#include <ipmitool/ipmi.h>
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_pef.h>
+#include <ipmitool/bswap.h>
extern int verbose;
/*
but the author forgot to include the necessary header file which
defines it.
Signed-off-by: Dan Gora <***@adax.com>
---
ipmitool/lib/ipmi_chassis.c | 1 +
ipmitool/lib/ipmi_pef.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ipmitool/lib/ipmi_chassis.c b/ipmitool/lib/ipmi_chassis.c
index 9f71d32..f0d4877 100644
--- a/ipmitool/lib/ipmi_chassis.c
+++ b/ipmitool/lib/ipmi_chassis.c
@@ -45,6 +45,7 @@
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_strings.h>
#include <ipmitool/ipmi_chassis.h>
+#include <ipmitool/bswap.h>
extern int verbose;
diff --git a/ipmitool/lib/ipmi_pef.c b/ipmitool/lib/ipmi_pef.c
index 1c0e378..2228b91 100644
--- a/ipmitool/lib/ipmi_pef.c
+++ b/ipmitool/lib/ipmi_pef.c
@@ -43,6 +43,7 @@
#include <ipmitool/ipmi.h>
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_pef.h>
+#include <ipmitool/bswap.h>
extern int verbose;
/*
--
1.7.7
1.7.7