This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fcac7d
)
perlxs: Note that rpc.h is can be in different places
author
Karl Williamson
<khw@cpan.org>
Mon, 2 Nov 2020 02:35:29 +0000
(19:35 -0700)
committer
Karl Williamson
<khw@cpan.org>
Wed, 2 Dec 2020 02:03:24 +0000
(19:03 -0700)
This replaces PR #18247
dist/ExtUtils-ParseXS/lib/perlxs.pod
patch
|
blob
|
blame
|
history
diff --git
a/dist/ExtUtils-ParseXS/lib/perlxs.pod
b/dist/ExtUtils-ParseXS/lib/perlxs.pod
index
6a48d7e
..
2dfbf7d
100644
(file)
--- a/
dist/ExtUtils-ParseXS/lib/perlxs.pod
+++ b/
dist/ExtUtils-ParseXS/lib/perlxs.pod
@@
-2103,6
+2103,7
@@
File C<RPC.xs>: Interface to some ONC+ RPC bind library functions.
#include "perl.h"
#include "XSUB.h"
+ /* On some systems this should be <tirpc/rpc.h> */
#include <rpc/rpc.h>
typedef struct netconfig Netconfig;
@@
-2163,6
+2164,8
@@
File C<rpctest.pl>: Perl test program for the RPC extension.
print "time = $a\n";
print "netconf = $netconf\n";
+In Makefile.PL add -ltirpc and -I/usr/include/tirpc.
+
=head1 CAVEATS
XS code has full access to system calls including C library functions.