diff -upr /tmp/portage/net-nntp/pan-9999/work/pan-9999/pan/data-impl/headers.cc /tmp/portage/pan-9999/pan/data-impl/headers.cc
--- pan/data-impl/headers.cc.214
+++ pan/data-impl/headers.cc
@@ -28,7 +28,7 @@ extern "C" {
   #include <sys/types.h> // for chmod
   #include <sys/stat.h> // for chmod
   #include <glib/gi18n.h>
-  #include <glib/gmessages.h> // for g_assert
+  #include <glib/gtestutils.h> // for g_assert
 }
 #include <pan/general/debug.h>
 #include <pan/general/foreach.h>
diff -upr /tmp/portage/net-nntp/pan-9999/work/pan-9999/pan/data-impl/my-tree.cc /tmp/portage/pan-9999/pan/data-impl/my-tree.cc
--- pan/data-impl/my-tree.cc.214
+++ pan/data-impl/my-tree.cc
@@ -19,7 +19,7 @@
 
 #include <config.h>
 #include <cassert>
-#include <glib/gmessages.h> // for g_assert
+#include <glib/gtestutils.h> // for g_assert
 #include <pan/general/debug.h>
 #include <pan/general/foreach.h>
 #include <pan/general/quark.h>
