Gerald Pfeifer : widl: Include <unistd.h> for prototype of unlink().
Alexandre Julliard
julliard at winehq.org
Mon Feb 25 06:50:52 CST 2008
Module: wine
Branch: master
Commit: 92015ee4ed4185996cf8889b9d47134815a8443a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=92015ee4ed4185996cf8889b9d47134815a8443a
Author: Gerald Pfeifer <gerald at 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
More information about the wine-cvs
mailing list