summaryrefslogtreecommitdiff
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 8ff1574188..e33ce14f4f 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];