From 4a4d2300ff140e54f804092b2c54065d3660c6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 3 May 2013 07:17:18 +0200 Subject: [PATCH] Fixup rpcgen code on kFreeBSD too since it uses glibc's rpcgen. (cherry picked from commit b562d7b7e4a9c82900cc5e7b2a6760b27fc4096c) --- src/rpc/genprotocol.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";