diff --git a/ChangeLog b/ChangeLog
index 6966276b012ac1fc79561ac31f66af4e0148a0b4..395dea4a64ab09fbd7fde20529770601b1af5d02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 
+2009-04-05 20:31 Ali aliov@xfce.org 
+	 * : Include missing config.h in xfpm-battery-info
+
 2009-04-05 19:40 Ali aliov@xfce.org 
 	 * : Fix bug: 5193, the help document in the settings dialog
 
diff --git a/src/xfpm-battery-info.c b/src/xfpm-battery-info.c
index 6ddab40e0eafca7132df4de38cbec2f7bdec9b97..0a1a10d973ede05fea95bfb7c1410b16ab1cd58b 100644
--- a/src/xfpm-battery-info.c
+++ b/src/xfpm-battery-info.c
@@ -18,6 +18,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <libxfce4util/libxfce4util.h>
 #include <libxfcegui4/libxfcegui4.h>