$OpenBSD: patch-util_c,v 1.3 2016/08/30 16:58:45 sthen Exp $
--- util.c.orig	Sat Aug 27 15:57:18 2016
+++ util.c	Tue Aug 30 17:56:47 2016
@@ -15,6 +15,11 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <stdio.h>
+#include <string.h>
+
 #include "ccache.h"
 
 #include <zlib.h>
