Fixup rpcgen code on kFreeBSD too
since it uses glibc's rpcgen.
This commit is contained in:
parent
d80b5b7f86
commit
b562d7b7e4
@ -31,7 +31,7 @@ open RPCGEN, "-|", $rpcgen, $mode, $xdrdef
|
|||||||
open TARGET, ">$target"
|
open TARGET, ">$target"
|
||||||
or die "cannot create $target: $!";
|
or die "cannot create $target: $!";
|
||||||
|
|
||||||
my $fixup = $^O eq "linux" || $^O eq "cygwin";
|
my $fixup = $^O eq "linux" || $^O eq "cygwin" || $^O eq "gnukfreebsd";
|
||||||
|
|
||||||
if ($mode eq "-c") {
|
if ($mode eq "-c") {
|
||||||
print TARGET "#include <config.h>\n";
|
print TARGET "#include <config.h>\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user