include glext.h if GL_GLEXT_LEGACY not defined
diff --git a/include/GL/gl.h b/include/GL/gl.h
index d9c8630..9ade786 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.39 2000/05/22 16:21:27 brianp Exp $ */
+/* $Id: gl.h,v 1.40 2000/05/22 16:22:47 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -1722,6 +1722,7 @@
 	GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
 
 
+#if defined(GL_GLEXT_LEGACY)
 
 
 /*
@@ -2223,6 +2224,13 @@
 #endif /* GL_MESA_resize_bufffers */
 
 
+#else  /* GL_GLEXT_LEGACY */
+
+#include "glext.h"
+
+#endif  /* GL_GLEXT_LEGACY */
+
+
 
 /**********************************************************************
  * Begin system-specific stuff