summaryrefslogtreecommitdiff
blob: 5d0dd70109109cc4afae398f4a233b4012535220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/c/tkImageLoad.c b/c/tkImageLoad.c
index e7c46f0..1496a15 100755
--- a/c/tkImageLoad.c
+++ b/c/tkImageLoad.c
@@ -12,6 +12,7 @@
 #include <tcl.h>
 #include <tk.h>
 #include <assert.h>
+#include <stdlib.h>
 
 #define HEADER_LINE_LENGTH 512
 #define BYTES_PER_PIXEL 2