$OpenBSD: patch-execute_c,v 1.4 2015/01/20 10:02:09 sthen Exp $
--- execute.c.orig	Wed Dec 10 19:40:54 2014
+++ execute.c	Tue Jan 20 09:59:30 2015
@@ -17,6 +17,9 @@
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <sys/types.h>
+#include <sys/stat.h>
+
 #include "ccache.h"
 
 extern struct conf *conf;
