--- /dev/null
+diff --git a/src/tX_mouse.cc b/src/tX_mouse.cc
+--- a/src/tX_mouse.cc
++++ b/src/tX_mouse.cc
+@@ -50,2 +50,3 @@
+ #include <stdlib.h>
++#include <string.h> /* strcmp() */
+
+diff --git a/src/tX_mouse.h b/src/tX_mouse.h
+--- a/src/tX_mouse.h
++++ b/src/tX_mouse.h
+@@ -38,2 +38,3 @@
+ #include <gdk/gdkkeysyms.h>
++#include <gtk/gtk.h> /* GtkWidget */
+
+diff --git a/src/tX_vttgui.cc b/src/tX_vttgui.cc
+--- a/src/tX_vttgui.cc
++++ b/src/tX_vttgui.cc
+@@ -61,2 +61,3 @@
+ #include <stdio.h>
++#include <string.h> /* strrchr() */
+ #include <ctype.h>
+diff --git a/src/tX_global.h b/src/tX_global.h
+--- a/src/tX_global.h
++++ b/src/tX_global.h
+@@ -37,2 +37,3 @@ extern "C" {
+ #include <stdio.h>
++#include <string.h> /* strcpy() */
+ #include "tX_types.h"
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
src_prepare() {
# Patch from debian to compile with recent zlib
epatch "${FILESDIR}"/${PN}-3.84-new-zlib.patch
+ epatch "${FILESDIR}"/${PN}-3.84-includes.patch
gnome2_src_prepare
}