summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1998-03-07 09:36:41 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1998-03-07 09:36:41 +0000
commit9ec7530597a8f6f41be3c8f954450ef40df6c88e (patch)
treee7758d91789b6cd44f7587559cf8038d88257e4f /pp_sys.c
parentcb66d7b2a186473964e7dc7e8954f773d70e6e9c (diff)
downloadperl-9ec7530597a8f6f41be3c8f954450ef40df6c88e.tar.gz
There has been a 'thaw' in config.h (the ICE has gone ;-))
So pp_sys.c needs tweaking otherwise it does not believe getservby*() exist. (Breaks libnet). p4raw-id: //depot/perl@800
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 8058fb2656..8d8be18073 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3834,7 +3834,7 @@ PP(pp_gprotoent)
PP(pp_gsbyname)
{
-#ifdef HAS_GETSERVICEBYNAME
+#ifdef HAS_GETSERVBYNAME
return pp_gservent(ARGS);
#else
DIE(no_sock_func, "getservbyname");
@@ -3843,7 +3843,7 @@ PP(pp_gsbyname)
PP(pp_gsbyport)
{
-#ifdef HAS_GETSERVICEBYPORT
+#ifdef HAS_GETSERVBYPORT
return pp_gservent(ARGS);
#else
DIE(no_sock_func, "getservbyport");