include readtex.h
diff --git a/progs/demos/teapot.c b/progs/demos/teapot.c
index 67a64f9..5a50447 100644
--- a/progs/demos/teapot.c
+++ b/progs/demos/teapot.c
@@ -10,6 +10,7 @@
 #include <stdlib.h>
 #include <math.h>
 #include <time.h>
+#include <string.h>
 
 #ifdef WIN32
 #include <windows.h>