wrc: Include unistd.h before the Windows headers.

This commit is contained in:
Alexandre Julliard 2009-10-06 16:18:04 +02:00
parent 7be2f6d985
commit da3ee66505
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
#include <errno.h>
#include <limits.h>
#ifndef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
#define YY_NO_UNISTD_H
#endif