Skip to content
Snippets Groups Projects
Commit 031648a3 authored by Guido Günther's avatar Guido Günther
Browse files

Fixup rpcgen code on kFreeBSD too

parent b47d7060
No related branches found
No related tags found
No related merge requests found
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Fri, 3 May 2013 07:17:18 +0200
Subject: Fixup rpcgen code on kFreeBSD too
since it uses glibc's rpcgen.
---
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 c8c1570..f02ce13 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 <config.h>\n";
......@@ -13,3 +13,4 @@ Allow-xen-toolstack-to-find-it-s-binaries.patch
virthreadpthread-don-t-try-to-cast-pthread_t-to-void.patch
Add-sanitytest.py.patch
virInitctlRequest-Don-t-hardcode-384-bytes-size.patch
Fixup-rpcgen-code-on-kFreeBSD-too.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment