]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fixup rpcgen code on kFreeBSD too
authorGuido Günther <agx@sigxcpu.org>
Fri, 3 May 2013 05:17:18 +0000 (07:17 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 3 May 2013 14:40:21 +0000 (16:40 +0200)
since it uses glibc's rpcgen.

src/rpc/genprotocol.pl

index c8c15700b364a2948125f932bbae65e08caffc15..f02ce13494875b2ee36c8c0b96852b1c86952578 100755 (executable)
@@ -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 <config.h>\n";