On windows unistd.h isn't available on some compiler, which requires to wrap related source code with #ifdef HAVE_UNISTD_H ... #endif To prevent compile problems on unix configure.in should have check for unistd.h
Created attachment 8958 [details] [review] add unistd.h configure check
Created attachment 8959 [details] [review] unistd.h patches in source files
shouldn't test-sleep-forever use HAVE_UNISTD_H instead of #ifndef DBUS_WIN? I would also just unconditionally include stdlib.h in there.
done
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.