1 Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved |
|
2 |
|
3 --- ipmitool-1.8.11.old/configure.in Tue Oct 25 12:43:52 2011 |
|
4 +++ ipmitool-1.8.11/configure.in Tue Oct 25 12:46:49 2011 |
|
5 @@ -65,7 +65,7 @@ |
|
6 # disable the linux-specific interfaces |
|
7 enable_intf_bmc=yes |
|
8 enable_intf_imb=no |
|
9 - enable_intf_open=no |
|
10 + enable_intf_open=yes |
|
11 enable_intf_lipmi=no |
|
12 enable_ipmishell=no |
|
13 enable_all_options=no |
|
14 @@ -219,6 +219,10 @@ |
|
15 [Define to 1 if you have the <sys/ipmi.h> header file.])], |
|
16 [echo "** Unable to find OpenIPMI header files. Using internal version."])]) |
|
17 |
|
18 +AC_CHECK_HEADER([sys/ioccom.h], |
|
19 + [AC_DEFINE(HAVE_IOCCOM_H, [1], |
|
20 + [Define to 1 if you have the <sys/ioccom.h> header file.])]) |
|
21 + |
|
22 dnl look for FreeIPMI files |
|
23 AC_CHECK_LIB(freeipmi, ipmi_open_inband, [have_free=yes], [have_free=no]) |
|
24 if test "x$have_free" != "xyes"; then |
|
25 --- ipmitool-1.8.11.old/src/ipmievd.c Wed Feb 25 12:38:52 2009 |
|
26 +++ ipmitool-1.8.11/src/ipmievd.c Fri Oct 21 16:41:54 2011 |
|
27 @@ -66,6 +66,10 @@ |
|
28 # include <sys/poll.h> |
|
29 #endif /* IPMI_INTF_OPEN */ |
|
30 |
|
31 +#ifdef HAVE_IOCCOM_H |
|
32 +#include <sys/ioccom.h> |
|
33 +#endif |
|
34 + |
|
35 #include <ipmitool/helper.h> |
|
36 #include <ipmitool/log.h> |
|
37 #include <ipmitool/ipmi.h> |
|
38 --- ipmitool-1.8.11.old/src/plugins/open/open.c Wed Feb 25 12:38:53 2009 |
|
39 +++ ipmitool-1.8.11/src/plugins/open/open.c Fri Oct 21 16:41:08 2011 |
|
40 @@ -62,6 +62,10 @@ |
|
41 # include "open.h" |
|
42 #endif |
|
43 |
|
44 +#ifdef HAVE_IOCCOM_H |
|
45 +#include <sys/ioccom.h> |
|
46 +#endif |
|
47 + |
|
48 extern int verbose; |
|
49 |
|
50 static int |
|