$NetBSD: patch-at,v 1.2 2006/01/18 23:53:06 xtraeme Exp $

--- lib/GL/glx/Imakefile.orig	2006-01-06 13:56:28.000000000 +0000
+++ lib/GL/glx/Imakefile
@@ -92,6 +92,9 @@ LinkSourceFile(xf86dri.h, $(MESASRCDIR)/
 LinkSourceFile(xf86dristr.h, $(MESASRCDIR)/src/glx/x11)
 LinkSourceFile(xfont.c, $(MESASRCDIR)/src/glx/x11)
 
+LIBDRM_DIR = ../../..//extras/drm/libdrm
+LinkSourceFile(xf86drm.h, ${LIBDRM_DIR})
+
 /*
  * Maybe some of these could come from
  * xc/extras/ogl-sample/main/glx/lib at some point.
