Re: [libvirt] build: workaround broken SASL header (again)
On Wed, Mar 30, 2016 at 08:52:38AM +0200, Fabiano Fidêncio wrote: > 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 *, > --- > src/rpc/virnetsaslcontext.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > ACK I have added a reference to commit 1be3dfd and pushed it. Congrats on your first libvirt patch! Jan -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] 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 *, --- src/rpc/virnetsaslcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/virnetsaslcontext.h b/src/rpc/virnetsaslcontext.h index 54634d5..edc082f 100644 --- a/src/rpc/virnetsaslcontext.h +++ b/src/rpc/virnetsaslcontext.h @@ -21,9 +21,9 @@ #ifndef __VIR_NET_CLIENT_SASL_CONTEXT_H__ # define __VIR_NET_CLIENT_SASL_CONTEXT_H__ +# include "internal.h" # include -# include "internal.h" # include "virobject.h" typedef struct _virNetSASLContext virNetSASLContext; -- 2.7.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list