mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
unistd.h is only available when HAVE_UNISTD_H is 1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e4d65cdc6
commit
952fa45645
1 changed files with 2 additions and 0 deletions
|
@ -4,7 +4,9 @@
|
|||
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in a new issue