diff --git a/src/ezstream-cfgmigrate.c b/src/ezstream-cfgmigrate.c index 4ec4fa1..b7e8063 100644 --- a/src/ezstream-cfgmigrate.c +++ b/src/ezstream-cfgmigrate.c @@ -20,6 +20,9 @@ #include "compat.h" +#if defined(HAVE_LIBGEN_H) && !defined(__linux__) +# include +#endif /* HAVE_LIBGEN_H && !__linux__ */ #include #include #include