now only include unistd.h for linux
This commit is contained in:
@@ -40,9 +40,9 @@ static char rcsid[] = "$Id$";
|
|||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#ifdef HAVE_UNISTD_H
|
#if defined(HAVE_UNISTD_H) && defined(linux)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif /* HAVE_UNISTD_H */
|
#endif /* HAVE_UNISTD_H && linux */
|
||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif /* HAVE_STRING_H */
|
#endif /* HAVE_STRING_H */
|
||||||
|
Reference in New Issue
Block a user