use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()
[mesa.git] / progs / redbook / hello.c
index 4f644a46a807c01327835e11945a6180f6049672..fb3dae13252abdec3fe7175d34bd7a9358cd170e 100644 (file)
@@ -39,6 +39,7 @@
  * hello.c
  * This is a simple, introductory OpenGL program.
  */
+#include <stdlib.h>
 #include <GL/glut.h>
 
 void display(void)