include readtex.h instead of readtex.c (Marcello Magallon)
diff --git a/progs/demos/readpix.c b/progs/demos/readpix.c
index b36e3d1..71ce972 100644
--- a/progs/demos/readpix.c
+++ b/progs/demos/readpix.c
@@ -11,7 +11,7 @@
 #include <math.h>
 #include <GL/glut.h>
 
-#include "../util/readtex.c"  /* a hack, I know */
+#include "readtex.h"
 
 #define IMAGE_FILE "../images/girl.rgb"