Skip to content

Commit e1e6c21

Browse files
authored
Merge pull request #81 from jeremyd2019/win32-resolv-iphlpapi-headers
win32/resolv: add headers to GetNetworkParams check.
2 parents 5338d06 + bceafef commit e1e6c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/win32/resolv/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require 'mkmf'
2-
if RUBY_ENGINE == "ruby" and have_library('iphlpapi', 'GetNetworkParams')
2+
if RUBY_ENGINE == "ruby" and have_library('iphlpapi', 'GetNetworkParams', ['windows.h', 'iphlpapi.h'])
33
create_makefile('win32/resolv')
44
else
55
File.write('Makefile', "all clean install:\n\t@echo Done: $(@)\n")

0 commit comments

Comments
 (0)