From: Guido Günther Date: Fri, 3 May 2013 05:17:18 +0000 (+0200) Subject: Fixup rpcgen code on kFreeBSD too X-Git-Tag: CVE-2013-1962~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b562d7b7e4a9c82900cc5e7b2a6760b27fc4096c;p=thirdparty%2Flibvirt.git Fixup rpcgen code on kFreeBSD too since it uses glibc's rpcgen. --- diff --git a/src/rpc/genprotocol.pl b/src/rpc/genprotocol.pl index c8c15700b3..f02ce13494 100755 --- a/src/rpc/genprotocol.pl +++ b/src/rpc/genprotocol.pl @@ -31,7 +31,7 @@ open RPCGEN, "-|", $rpcgen, $mode, $xdrdef open TARGET, ">$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") { print TARGET "#include \n";