From 92015ee4ed4185996cf8889b9d47134815a8443a Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 22 Feb 2008 11:24:27 +0100 Subject: [PATCH] widl: Include for prototype of unlink(). --- tools/widl/parser.l | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/widl/parser.l b/tools/widl/parser.l index af9445bafbc..94eec0d5200 100644 --- a/tools/widl/parser.l +++ b/tools/widl/parser.l @@ -45,7 +45,9 @@ double [0-9]+\.[0-9]+([eE][+-]?[0-9]+)* #include #include -#ifndef HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H +#include +#else #define YY_NO_UNISTD_H #endif