diff -Naur gpass-0.5.1-old/include/gpass/error.h gpass-0.5.1/include/gpass/error.h
--- gpass-0.5.1-old/include/gpass/error.h	2006-02-19 14:20:01.000000000 +0200
+++ gpass-0.5.1/include/gpass/error.h	2012-07-16 16:29:13.398924218 +0300
@@ -19,7 +19,7 @@
 #ifndef __GPASS_ERROR_H__
 #define __GPASS_ERROR_H__
 
-#include <glib/gerror.h>
+#include <glib.h>
 
 G_BEGIN_DECLS
 
diff -Naur gpass-0.5.1-old/src/helper.h gpass-0.5.1/src/helper.h
--- gpass-0.5.1-old/src/helper.h	2006-02-19 14:20:01.000000000 +0200
+++ gpass-0.5.1/src/helper.h	2012-07-16 16:33:30.357262132 +0300
@@ -19,8 +19,8 @@
 #ifndef __GPASS_HELPER_H__
 #define __GPASS_HELPER_H__
 
-#include <glib/gerror.h>
-#include <gtk/gtkmessagedialog.h>
+#include <glib.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
