From: Timo Sirainen Date: Fri, 27 Jun 2008 05:18:41 +0000 (+0300) Subject: rquota_xdr compilation fixes for AIX (hopefully won't break other OSes). X-Git-Tag: 1.2.alpha1~204 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0cc826dab58ed8e30e1ccd7cb6ad2f44b391a00;p=thirdparty%2Fdovecot%2Fcore.git rquota_xdr compilation fixes for AIX (hopefully won't break other OSes). --HG-- branch : HEAD --- diff --git a/src/plugins/quota/Makefile.am b/src/plugins/quota/Makefile.am index c63403b2e1..acfa99f424 100644 --- a/src/plugins/quota/Makefile.am +++ b/src/plugins/quota/Makefile.am @@ -35,8 +35,11 @@ if HAVE_RQUOTA RQUOTA_XDR = rquota_xdr.c RQUOTA_X = /usr/include/rpcsvc/rquota.x rquota_xdr.c: Makefile $(RQUOTA_X) - (echo '#include "lib.h"'; $(RPCGEN) -c $(RQUOTA_X) | \ + (echo '#include "lib.h"'; \ + echo '#include '; \ + $(RPCGEN) -c $(RQUOTA_X) | \ sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \ + -e 's,/usr/include/rpcsvc/rquota.h,rquota.h,' \ -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' ) > rquota_xdr.c rquota.h: Makefile $(RQUOTA_X)