From: Christos Zoulas Date: Wed, 1 Aug 2001 14:03:19 +0000 (+0000) Subject: don't forget to include unistd.h (Casper Maarbjerg) X-Git-Tag: FILE3_37~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d55769f029cab8b80f1d9a7b304922ea14aa6acf;p=file don't forget to include unistd.h (Casper Maarbjerg) --- diff --git a/src/apprentice.c b/src/apprentice.c index c14b3810..5c78c5ae 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -28,6 +28,9 @@ #include "file.h" #include #include +#ifdef HAVE_UNISTD_H +#include +#endif #include #include #include @@ -39,7 +42,7 @@ #endif #ifndef lint -FILE_RCSID("@(#)$Id: apprentice.c,v 1.43 2001/07/23 00:02:32 christos Exp $") +FILE_RCSID("@(#)$Id: apprentice.c,v 1.44 2001/08/01 14:03:19 christos Exp $") #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \