now only include unistd.h for linux

This commit is contained in:
Todd C. Miller
1994-09-22 17:30:19 +00:00
parent 881374f188
commit cbb0879747

View File

@@ -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 <unistd.h>
#endif /* HAVE_UNISTD_H */
#endif /* HAVE_UNISTD_H && linux */
#ifdef HAVE_STRING_H
#include <string.h>
#endif /* HAVE_STRING_H */