--- ipmitool-1.8.11/src/ipmievd.c	2009-02-26 04:38:52.000000000 +0800
+++ ipmitool-1.8.11_modify/src/ipmievd.c	2009-11-18 12:38:52.000000000 +0800
@@ -48,6 +48,9 @@
 
 #ifdef HAVE_PATHS_H
 # include <paths.h>
+#ifndef _PATH_VARRUN
+# define _PATH_VARRUN "/var/run/"
+#endif
 #else
 # define _PATH_VARRUN "/var/run/"
 #endif
