Locking arrays

I’m trying to optimize my terrain editor by locking arrays, but I can’t get the code to work. Every example I see does something similar to this:


PFNGLLOCKARRAYSEXTPROC   glLockArraysEXT   = NULL;
PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT = NULL;
...
glLockArraysEXT   = ( PFNGLLOCKARRAYSEXTPROC ) wglGetProcAddress ( "glLockArraysEXT" );
glUnlockArraysEXT = ( PFNGLUNLOCKARRAYSEXTPROC ) wglGetProcAddress ( "glUnlockArraysEXT" );

But I keep getting the error that both PFNGLLOCKARRAYSEXTPROC and PFNGLUNLOCKARRAYSEXTPROC are unrecognized. I don’t see them in either GL.h or GLU.h, anyone know how I can get this to compile?

Thanks!

you need glext.h from here : http://www.opengl.org/registry/

Thanks!