summaryrefslogtreecommitdiff
path: root/progs/demos/drawpix.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/drawpix.c')
-rw-r--r--progs/demos/drawpix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/drawpix.c b/progs/demos/drawpix.c
index faa98ee2fb..82d32b0705 100644
--- a/progs/demos/drawpix.c
+++ b/progs/demos/drawpix.c
@@ -8,9 +8,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#include <string.h>
#include <GL/glut.h>
-#include "readtex.c"
+#include "readtex.h"
#define IMAGE_FILE "../images/girl.rgb"