[svn-r897] added a #ifdef HAVE_UNISTD_H around the unistd.h include

This commit is contained in:
Patrick Lu 1998-11-10 13:18:31 -05:00
parent b7267be71a
commit e1ae92a6bb
2 changed files with 4 additions and 2 deletions

View File

@ -13,8 +13,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/*-------------------------------------------------------------------------
* Function: usage

View File

@ -19,8 +19,9 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#define FALSE 0
#define TRUE 1
#define NAMELEN 4096