From cbb087974729a9d2c12ae24622c73371d15f365f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 22 Sep 1994 17:30:19 +0000 Subject: [PATCH] now only include unistd.h for linux --- parse.lex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse.lex b/parse.lex index ebc4c5d3b..772c630cd 100644 --- a/parse.lex +++ b/parse.lex @@ -40,9 +40,9 @@ static char rcsid[] = "$Id$"; #endif /* lint */ #include "config.h" -#ifdef HAVE_UNISTD_H +#if defined(HAVE_UNISTD_H) && defined(linux) #include -#endif /* HAVE_UNISTD_H */ +#endif /* HAVE_UNISTD_H && linux */ #ifdef HAVE_STRING_H #include #endif /* HAVE_STRING_H */