<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76577#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - egl_dri2.c:507:27: error: 'EGL_OPENGL_ES3_BIT_KHR' undeclared (first use in this function)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76577">bug 76577</a>
              from <span class="vcard"><a class="email" href="mailto:fragabr@gmail.com" title="Dâniel Fraga <fragabr@gmail.com>"> <span class="fn">Dâniel Fraga</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=76577#c2">comment #2</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=96363" name="attach_96363" title="egl: do not use system egl headers, make use of the one we provide">attachment 96363</a> <a href="attachment.cgi?id=96363&action=edit" title="egl: do not use system egl headers, make use of the one we provide">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=76577&attachment=96363'>[review]</a> [review]
> egl: do not use system egl headers, make use of the one we provide

> Well this is kind of our fault as well. We should not be including the
> system headers, but the ones we provide.

> Feel free to give the patch a try.</span >

Hi Emil. I tried your patch and it didn't work. If you want to test yourself
there, just put some old Mesa 8.0.5 header files in /usr/xorg/include/EGL (or
whatever you use):

eglext.h  egl.h  eglmesaext.h  eglplatform.h

But it's nice to see this will change, because I thought it was very strange
for Mesa to use the system header files. Thank you very much!

Ps: I think this change will have to be made for GL header files too, because I
had to remove the GL system header files otherwise it would give errors.

Ps2: if you want me to test other patch, just ask.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>