Module: wine Branch: master Commit: 92015ee4ed4185996cf8889b9d47134815a8443a URL: http://source.winehq.org/git/wine.git/?a=commit;h=92015ee4ed4185996cf8889b9d...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Fri Feb 22 11:24:27 2008 +0100
widl: Include <unistd.h> for prototype of unlink().
---
tools/widl/parser.l | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l index af9445b..94eec0d 100644 --- a/tools/widl/parser.l +++ b/tools/widl/parser.l @@ -45,7 +45,9 @@ double [0-9]+.[0-9]+([eE][+-]?[0-9]+)* #include <ctype.h> #include <assert.h>
-#ifndef HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#else #define YY_NO_UNISTD_H #endif