aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_bio.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-09-04 03:03:50 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-10-28 11:32:19 +0900
commit16a6bef901074c579e99a2cadc83232bf820a425 (patch)
tree8cff259d95006b917cadd232193e6cd6631db006 /ext/openssl/ossl_bio.c
parentec8e28e7d8440d619a24e93a872fb2955011b25c (diff)
downloadruby-openssl-16a6bef901074c579e99a2cadc83232bf820a425.tar.gz
Don't include unistd.h
As the comment suggests, ossl_ssl.c used to call read() and write() in the past. However r6806 replaced them with method calls for the underlying IO object. Anyway, unistd.h will be included by Ruby's header files if available.
Diffstat (limited to 'ext/openssl/ossl_bio.c')
-rw-r--r--ext/openssl/ossl_bio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/openssl/ossl_bio.c b/ext/openssl/ossl_bio.c
index feaf2296..1609b097 100644
--- a/ext/openssl/ossl_bio.c
+++ b/ext/openssl/ossl_bio.c
@@ -8,9 +8,6 @@
* (See the file 'LICENCE'.)
*/
#include "ossl.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
BIO *
ossl_obj2bio(VALUE obj)