Author: Jaret Cantu <jaret.cantu@timesys.com>
Date:   Wed Apr  5 17:49:40 EDT 2017

    egl: opengles1: clear: Add sometimes necessary header

    On some platforms (iMX Viv at least), the Khronos headers do not
    contain the expected typedefs.  For example, GLclampf is defined
    in glext.h for OpenGL ES1 instead of gl.h.

    Add the extra include to satiate these platforms.  There should
    be no other ill effects from including this header for other,
    more proper libraries.

--- mesa-demos-8.3.0/src/egl/opengles1/clear.c.orig	2012-06-25 11:34:58.000000000 -0400
+++ mesa-demos-8.3.0/src/egl/opengles1/clear.c	2017-04-05 17:48:41.074398497 -0400
@@ -34,6 +34,7 @@
 #include <stdio.h>
 #include <EGL/egl.h>
 #include <GLES/gl.h>
+#include <GLES/glext.h>
 
 #include "eglut.h"
 
