about summary refs log tree commit diff
path: root/generator/ppmrough.c
diff options
context:
space:
mode:
Diffstat (limited to 'generator/ppmrough.c')
-rw-r--r--generator/ppmrough.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generator/ppmrough.c b/generator/ppmrough.c
index f8823173..b21adedf 100644
--- a/generator/ppmrough.c
+++ b/generator/ppmrough.c
@@ -10,10 +10,13 @@
 ** documentation.  This software is provided "as is" without express or
 ** implied warranty.  */
 
+#include <stdlib.h>
 #include <math.h>
 #include <sys/time.h>
-#include "ppm.h"
+
+#include "pm_c_util.h"
 #include "shhopt.h"
+#include "ppm.h"
 
 static pixel** PIX;
 static pixval BG_RED, BG_GREEN, BG_BLUE;