$NetBSD: patch-af,v 1.1 2003/04/23 22:54:43 martin Exp $

--- src/console-x.h.orig	2003-04-23 23:36:37.000000000 +0200
+++ src/console-x.h	2003-04-23 23:37:07.000000000 +0200
@@ -33,7 +33,7 @@
 #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"
 #include "xintrinsic.h"
