--- src/functions.c.orig	2004-06-15 14:11:04.000000000 -0600
+++ src/functions.c	2009-12-18 16:00:42.000000000 -0700
@@ -19,6 +19,7 @@
 
 #include	<stdio.h>
 #include	<unistd.h>
+#include	<stdlib.h>
 #include	<string.h>
 #include	<sys/types.h>
 #include	<sys/stat.h>
@@ -29,6 +30,7 @@
 #include	<limits.h>
 #include	<dirent.h>
 #include	"ftw.h"
+#include	"wrappers.h"
 
 #define		MAXLINE	4096
 #define		PERM	0666