This project is closed and read-only.
Backport #8517 ยป socket.apple_IPV6_PKTINFO.patch
| ext/socket/extconf.rb (working copy) | ||
|---|---|---|
|
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
|
||
|
if /darwin/ =~ RUBY_PLATFORM
|
||
|
$CFLAGS << " -D__APPLE_USE_RFC_3542"
|
||
|
end
|
||
|
headers = []
|
||
|
unless $mswin or $mingw
|
||
|
headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h>
|
||