Skip to content

Commit 48309d7

Browse files
committed
Run have_func with the header providing the declarations
1 parent cf84aea commit 48309d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/io/wait/extconf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
File.write("Makefile", dummy_makefile($srcdir).join(""))
66
else
77
target = "io/wait"
8-
have_func("rb_io_wait")
9-
have_func("rb_io_descriptor")
8+
have_func("rb_io_wait", "ruby/io.h")
9+
have_func("rb_io_descriptor", "ruby/io.h")
1010
unless macro_defined?("DOSISH", "#include <ruby.h>")
1111
have_header(ioctl_h = "sys/ioctl.h") or ioctl_h = nil
1212
fionread = %w[sys/ioctl.h sys/filio.h sys/socket.h].find do |h|

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy