-?MAKE:d_getservbyport_r getservbyport_r_proto: Inlibc Protochk i_systypes i_netdb
-?MAKE: -pick add $@ %<
+?MAKE:d_getservbyport_r getservbyport_r_proto: Inlibc Protochk i_systypes i_unistd
+?MAKE: -pick add $@ %<
?S:d_getservbyport_r:
-?S: This variable conditionally defines the HAS_GETSERVBYPORT_R symbol,
-?S: which indicates to the C program that the getservbyport_r()
-?S: routine is available.
+?S: This variable conditionally defines the HAS_GETSERVBYPORT_R symbol,
+?S: which indicates to the C program that the getservbyport_r()
+?S: routine is available.
?S:.
?S:getservbyport_r_proto:
-?S: This variable encodes the prototype of getservbyport_r.
+?S: This variable encodes the prototype of getservbyport_r.
?S:.
?C:HAS_GETSERVBYPORT_R:
-?C: This symbol, if defined, indicates that the getservbyport_r routine
-?C: is available to getservbyport re-entrantly.
+?C: This symbol, if defined, indicates that the getservbyport_r routine
+?C: is available to getservbyport re-entrantly.
?C:.
?C:GETSERVBYPORT_R_PROTO:
-?C: This symbol encodes the prototype of getservbyport_r.
+?C: This symbol encodes the prototype of getservbyport_r.
?C:.
-?H:#$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
-?H:#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
+?H:#$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
+?H:#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
?H:.
?T:try hdrs
?LINT:set d_getservbyport_r
eval $inlibc
case "$d_getservbyport_r" in
"$define")
- hdrs="$i_systypes sys/types.h $i_netdb netdb.h"
+ hdrs="$i_systypes sys/types.h $i_unistd unistd.h"
case "$getservbyport_r_proto" in
'') try='extern int getservbyport_r(int, const char*, struct servent*, size_t, struct servent**);'
./protochk "$try" $hdrs && getservbyport_r_proto=I_ICSWR;