]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: workaround broken SASL header (again)
authorFabiano Fidêncio <fidencio@redhat.com>
Wed, 30 Mar 2016 06:52:38 +0000 (08:52 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 31 Mar 2016 15:36:49 +0000 (17:36 +0200)
commitab74e8763d2e00b5e9fc4ac39e70dfa5de4d3cc4
tree0a4e9d653963caac69c11d828e90b04c62a4bc6b
parent382ea24b1a57d745eecf2f7aa63c7c99981eacc0
build: workaround broken SASL header (again)

Compilation for xdg-app failed due to a buggy SASL headers present on
the used runtime (org.gnome.Sdk 3.18).

In file included from rpc/virnetsaslcontext.h:24:0,
                 from rpc/virnetsaslcontext.c:25:
/usr/include/sasl/sasl.h:230:38: error: unknown type name 'size_t'
 typedef void *sasl_realloc_t(void *, size_t);
                                      ^
/usr/include/sasl/sasl.h:235:5: error: unknown type name 'sasl_realloc_t'
     sasl_realloc_t *,

Use the same workaround as commit 1be3dfd did.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/rpc/virnetsaslcontext.h