--- src/chgrep.c.orig	2004-06-15 14:07:22.000000000 -0600
+++ src/chgrep.c	2009-12-18 16:01:20.000000000 -0700
@@ -20,6 +20,7 @@
  */
 
 #include	<stdio.h>
+#include	<stdlib.h>
 #include	<sys/stat.h>
 #include	<sys/types.h>
 #include	<utime.h>