mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in, io.c: use sys/syscall.h if syscall.h is not available.
[ruby-core:06247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c90f3b2d90
commit
141666b1e2
3 changed files with 15 additions and 8 deletions
19
ChangeLog
19
ChangeLog
|
@ -1,3 +1,8 @@
|
|||
Mon Oct 24 21:14:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in, io.c: use sys/syscall.h if syscall.h is not available.
|
||||
[ruby-core:06247]
|
||||
|
||||
Mon Oct 24 20:38:25 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS.
|
||||
|
@ -5,7 +10,7 @@ Mon Oct 24 20:38:25 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
|||
|
||||
Mon Oct 24 11:01:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
|
||||
* ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
|
||||
typo fixed. [ruby-talk:162187]
|
||||
|
||||
* ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
|
||||
|
@ -15,12 +20,12 @@ Sun Oct 23 07:11:11 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
|||
|
||||
* ext/tk/extconf.rb: improbe messages [ruby-core:06325].
|
||||
|
||||
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
|
||||
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
|
||||
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
|
||||
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
|
||||
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
|
||||
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
|
||||
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
|
||||
ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
|
||||
ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
|
||||
ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
|
||||
ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
|
||||
ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
|
||||
ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
|
||||
|
||||
* ext/tk/lib/tkextlib/*: ditto.
|
||||
|
|
|
@ -436,7 +436,7 @@ dnl Checks for header files.
|
|||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS(stdlib.h string.h unistd.h limits.h sys/file.h sys/ioctl.h\
|
||||
AC_CHECK_HEADERS(stdlib.h string.h unistd.h limits.h sys/file.h sys/ioctl.h sys/syscall.h\
|
||||
fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\
|
||||
syscall.h pwd.h grp.h a.out.h utime.h memory.h direct.h sys/resource.h \
|
||||
sys/mkdev.h sys/utime.h netinet/in_systm.h float.h ieeefp.h pthread.h \
|
||||
|
|
2
io.c
2
io.c
|
@ -74,6 +74,8 @@
|
|||
|
||||
#ifdef HAVE_SYSCALL_H
|
||||
#include <syscall.h>
|
||||
#elif defined HAVE_SYS_SYSCALL_H
|
||||
#include <sys/syscall.h>
|
||||
#endif
|
||||
|
||||
extern void Init_File(void);
|
||||
|
|
Loading…
Reference in a new issue