Added include protection for unistd.h and sys/time.h.

diff --git a/files/profile.c b/files/profile.c
index 3b60843..8f342a2 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -32,7 +32,9 @@
 #ifdef HAVE_PWD_H
 # include <pwd.h>
 #endif
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 #include "windef.h"
 #include "winbase.h"