$OpenBSD: patch-util_mapcache_seed_c,v 1.2 2015/09/07 18:57:55 landry Exp $ https://github.com/mapserver/mapcache/pull/128 --- util/mapcache_seed.c.orig Mon May 19 22:30:46 2014 +++ util/mapcache_seed.c Mon May 19 22:31:00 2014 @@ -34,6 +34,7 @@ #include <apr_getopt.h> #include <signal.h> +#include <sys/stat.h> #include <time.h> #ifndef _WIN32 #include <unistd.h>