$NetBSD: patch-af,v 1.2 2005/03/02 22:05:19 magick Exp $

--- src/console-x.h.orig	2005-02-21 22:42:06.000000000 +0100
+++ src/console-x.h
@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA.  */
 #ifndef INCLUDED_console_x_h_
 #define INCLUDED_console_x_h_
 
-#ifdef HAVE_X_WINDOWS
+#if defined(HAVE_X_WINDOWS) || defined(HAVE_GTK)
 
 #include "console.h"
 /* must come before Xutil.h, which is included indirectly from xintrinsic.h,