$OpenBSD: patch-configure,v 1.12 2006/12/18 12:40:11 wilfried Exp $
--- configure.orig	Sun Jul  2 15:57:45 2006
+++ configure	Sat Sep 30 18:14:28 2006
@@ -26838,6 +26838,7 @@
     have_base_x_pc=true
     X_PACKAGES="$X_PACKAGES x11 xext xrender"
     x_libs="`pkg-config --libs x11 xext xrender`"
+    X_CFLAGS="`pkg-config --cflags x11 xext xrender`"
 
     # Strip out any .la files that pkg-config might give us (this happens
     # with -uninstalled.pc files)
