1 From 86fd3be1d31d2e7c09603aa3a8966537ac01bb07 Mon Sep 17 00:00:00 2001
2 From: Maximilian Bosch <maximilian@mbosch.me>
3 Date: Tue, 11 Aug 2020 20:30:16 +0200
4 Subject: [PATCH] Fix RPC compilation when using libtirpc rather than glibc
7 src/block-server.c | 3 +++
8 utils/chop-block-server.c | 3 +++
9 2 files changed, 6 insertions(+)
11 diff --git a/src/block-server.c b/src/block-server.c
12 index 3f97417..29b299e 100644
13 --- a/src/block-server.c
14 +++ b/src/block-server.c
17 /* Server-side stubs. */
19 +#include <rpc/types.h>
21 +#include <rpc/auth.h>
23 #include <chop/block-server.h>
25 diff --git a/utils/chop-block-server.c b/utils/chop-block-server.c
26 index a2076c0..9462f5d 100644
27 --- a/utils/chop-block-server.c
28 +++ b/utils/chop-block-server.c
30 store, e.g. a GDBM block store, and serves it remotely. A lot of code is
31 borrowed from `chop-archiver.c'. */
33 +#include <rpc/types.h>
35 +#include <rpc/auth.h>
36 #include <chop/chop-config.h>