summaryrefslogtreecommitdiffstats
path: root/progs/redbook/surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/surface.c')
-rw-r--r--progs/redbook/surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/redbook/surface.c b/progs/redbook/surface.c
index 8ff15741889..e33ce14f4fc 100644
--- a/progs/redbook/surface.c
+++ b/progs/redbook/surface.c
@@ -41,6 +41,7 @@
* This program draws a NURBS surface in the shape of a
* symmetrical hill.
*/
+#include <stdlib.h>
#include <GL/glut.h>
GLfloat ctlpoints[4][4][3];