unistd.h and sys/types.h should have ifdef HAVE_UNISTD_H and ifdef HAVE_SYS_TYPES_H guards, respectively.
These includes were added in commit 8184bcc9
Signed-off-by: Craig Andrews candrews@integralblue.com --- server/token.c | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/server/token.c b/server/token.c index 820a7a0e07d..aec5aca12ac 100644 --- a/server/token.c +++ b/server/token.c @@ -26,8 +26,15 @@ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> + +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif +
#include "ntstatus.h" #define WIN32_NO_STATUS