mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
[svn-r897] added a #ifdef HAVE_UNISTD_H around the unistd.h include
This commit is contained in:
parent
b7267be71a
commit
e1ae92a6bb
@ -13,8 +13,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: usage
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user