1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/readline/readline.c: include <unistd.h> only when

HAVE_UNISTD_H is defined.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2003-04-09 06:39:02 +00:00
parent db24e481b3
commit bb4ade0ab6
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Wed Apr 9 15:35:04 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/readline/readline.c: include <unistd.h> only when
HAVE_UNISTD_H is defined.
Wed Apr 9 14:05:00 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* marshal.c (w_object): preserve extended module on struct.

View file

@ -3,7 +3,9 @@
#include <errno.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <readline/readline.h>
#include <readline/history.h>