From: John B. <jd...@us...> - 2006-03-28 16:57:00
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14941/lib Modified Files: helper.c ipmi_sol.c ipmi_tsol.c Log Message: conditionally include config.h only if it is present Index: ipmi_sol.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_sol.c,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** ipmi_sol.c 19 Mar 2006 21:20:42 -0000 1.38 --- ipmi_sol.c 28 Mar 2006 16:56:56 -0000 1.39 *************** *** 43,47 **** #include <unistd.h> ! #include <config.h> #if defined(HAVE_TERMIOS_H) --- 43,49 ---- #include <unistd.h> ! #if defined(HAVE_CONFIG_H) ! # include <config.h> ! #endif #if defined(HAVE_TERMIOS_H) Index: helper.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/helper.c,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** helper.c 19 Mar 2006 21:15:05 -0000 1.25 --- helper.c 28 Mar 2006 16:56:56 -0000 1.26 *************** *** 50,54 **** #ifdef HAVE_PATHS_H ! # include <paths.h> /* For _PATH_TTY */ #endif --- 50,56 ---- #ifdef HAVE_PATHS_H ! # include <paths.h> ! #else ! # define _PATH_VARRUN "/var/run/" #endif Index: ipmi_tsol.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_tsol.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ipmi_tsol.c 19 Mar 2006 21:20:42 -0000 1.8 --- ipmi_tsol.c 28 Mar 2006 16:56:56 -0000 1.9 *************** *** 50,54 **** #include <sys/ioctl.h> ! #include <config.h> #if defined(HAVE_TERMIOS_H) --- 50,56 ---- #include <sys/ioctl.h> ! #if defined(HAVE_CONFIG_H) ! # include <config.h> ! #endif #if defined(HAVE_TERMIOS_H) |