$NetBSD: patch-lib_syncmgr.c,v 1.2 2015/12/29 04:04:27 dholland Exp $ --- lib/syncmgr.c.orig 2005-07-08 21:25:22.000000000 +0200 +++ lib/syncmgr.c 2012-01-26 21:40:31.623129670 +0100 @@ -11,6 +11,10 @@ #include #include /* for MIN(a,b) */ +#ifdef __sun +#include +#endif + #define VERBOSE 0 static const char* RRA_DIRECTORY = "rra";