diff --git a/configure.ac b/configure.ac
index 9520503..a23205c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,6 +123,15 @@ PKG_CHECK_MODULES([EDBUS], edbus,
    ]
 )
 
+PKG_CHECK_MODULES([EFREET], efreet,
+   [],
+   [
+      echo "Could not find Efreet.  If it is installed, \nplease make sure its path is in PKG_CONFIG_PATH";
+      AC_MSG_ERROR([Empower needs Efreet to compile.])
+   ]
+)
+
+
 AC_OUTPUT([
 Makefile
 empower.spec
diff --git a/src/bin/Empower.h b/src/bin/Empower.h
index 529c680..96366f6 100644
--- a/src/bin/Empower.h
+++ b/src/bin/Empower.h
@@ -11,6 +11,7 @@
 #include "Eina.h"
 #include "Ecore_X.h"
 #include "Elementary.h"
+#include "E_DBus.h"
 #include <locale.h>
 #include "config.h"
 #define _(x) gettext(x)
diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
index fe1b9ff..1046251 100644
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -7,11 +7,11 @@ bin_PROGRAMS = empower
 empower_SOURCES = main.c gui.c pka.c marshal.c
 
 empower_CFLAGS = @ELEMENTARY_CFLAGS@ @ECORE_CFLAGS@ \
-                 @EDJE_CFLAGS@ @EVAS_CFLAGS@ @EDBUS_CFLAGS@
+                 @EDJE_CFLAGS@ @EVAS_CFLAGS@ @EDBUS_CFLAGS@ @EFREET_CFLAGS@
 
 empower_LDADD =  $(INTLLIBS) \
                  @ELEMENTARY_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ \
-                 @EDJE_LIBS@ @EDBUS_CFLAGS@
+                 @EDJE_LIBS@ @EDBUS_LIBS@ @EFREET_LIBS@
 
 EXTRA_DIST = Empower.h gui.h cb.h pka.h marshal.h
 
