$OpenBSD: patch-configure,v 1.1 2004/02/20 06:49:11 jolan Exp $
--- configure.orig	2004-01-24 19:15:57.000000000 -0600
+++ configure	2004-02-19 23:36:38.000000000 -0600
@@ -6065,7 +6065,7 @@ fi
 
 # avoid using X11 in BeOS
 if test $host_os != beos; then
-  CPPFLAGS=
+  CPPFLAGS="$X_CFLAGS $CPPFLAGS"
   if test x$no_x = x; then
     GLIBS="$X_PRE_LIBS -lX11 $EXTRA_LIBS $GLIBS"
   fi
