SHA256
1
0
forked from pool/ipmitool
ipmitool/ipmitool-bigendian.patch

25 lines
718 B
Diff

Index: ipmitool-1.8.12/lib/ipmi_chassis.c
===================================================================
--- ipmitool-1.8.12.orig/lib/ipmi_chassis.c
+++ ipmitool-1.8.12/lib/ipmi_chassis.c
@@ -41,6 +41,7 @@
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_strings.h>
#include <ipmitool/ipmi_chassis.h>
+#include <ipmitool/bswap.h>
extern int verbose;
Index: ipmitool-1.8.12/lib/ipmi_pef.c
===================================================================
--- ipmitool-1.8.12.orig/lib/ipmi_pef.c
+++ ipmitool-1.8.12/lib/ipmi_pef.c
@@ -39,6 +39,7 @@
#include <ipmitool/ipmi.h>
#include <ipmitool/ipmi_intf.h>
#include <ipmitool/ipmi_pef.h>
+#include <ipmitool/bswap.h>
extern int verbose;
/*