$OpenBSD: patch-fptools_libraries_X11_configure,v 1.1 2005/05/08 08:45:09 dons Exp $
--- fptools/libraries/X11/configure.orig	Sat May  7 22:16:41 2005
+++ fptools/libraries/X11/configure	Sat May  7 22:16:43 2005
@@ -3552,6 +3552,7 @@ fi
 # this will catch the case of using a mingw32 gcc on a Cygwin system:
 # Cygwin has the X headers & libs installed, but the mingw32 gcc can't
 # use them, and we want to disable the package in this case.
+CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
