--- src/init.c.orig 2016-05-20 11:41:06 UTC +++ src/init.c @@ -39,6 +39,9 @@ #include #include #include +#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) +#include +#endif #define LINESZ 1024