summaryrefslogtreecommitdiff
path: root/hints/isc.sh
diff options
context:
space:
mode:
authorChip Salzenberg <chip@atlantic.net>1996-12-23 12:58:58 +1200
committerChip Salzenberg <chip@atlantic.net>1996-12-23 12:58:58 +1200
commit13826f2cf81099b832a12ff02c10a2f9d23cd6e5 (patch)
tree24a90e6abe01e18770f4fe58907acc2f6a5ece4a /hints/isc.sh
parentd97d40b5b09d6d89f9fc39d5d51be2de4320c77b (diff)
downloadperl-13826f2cf81099b832a12ff02c10a2f9d23cd6e5.tar.gz
Fixes for Interactive Unix
(this is the same change as commit 1ab5d0547ab7398ea9e3e00b1c1b0f1f8ea0dd94, but as applied)
Diffstat (limited to 'hints/isc.sh')
-rw-r--r--hints/isc.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/isc.sh b/hints/isc.sh
index df745a9b25..5860acc0c6 100644
--- a/hints/isc.sh
+++ b/hints/isc.sh
@@ -28,6 +28,9 @@ case "$cc" in
;;
esac
+# getsockname() and getpeername() return 256 for no good reason
+ccflags="$ccflags -DBOGUS_GETNAME_RETURN=256"
+
# You can also include -D_SYSV3 to pick up "traditionally visible"
# symbols hidden by name-space pollution rules. This raises some
# compilation "redefinition" warnings, but they appear harmless.