http://bugs.gentoo.org/show_bug.cgi?id=360855 by JTRiley --- baselayout-1.12.5/src/start-stop-daemon.c +++ baselayout-1.12.5/src/start-stop-daemon.c @@ -73,10 +73,14 @@ #include #include -#include #include #endif +#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD) +#include +#endif + + #if defined(OShpux) #include #include