summaryrefslogtreecommitdiff
path: root/ext/socket/mkconstants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/mkconstants.rb')
-rw-r--r--ext/socket/mkconstants.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 42f36ece69..5212739876 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -1,5 +1,8 @@
$out ||= $stdout
+# workaround for NetBSD, OpenBSD and etc.
+$out.puts("#define pseudo_AF_FTIP pseudo_AF_RTIP")
+
# skip empty lines and comment lines
DATA.each_line do |s|
name, value = s.scan(/\S+/)