$NetBSD: patch-ad,v 1.6 2016/02/18 15:15:57 wiz Exp $ --- include/global.h.orig 2015-11-09 07:39:18.000000000 +0000 +++ include/global.h @@ -30,6 +30,13 @@ /* for timeval and timespec */ #include +#if defined(__FreeBSD__) +#include +#endif + +#ifdef __sun +#include +#endif #ifdef __cplusplus extern "C" {