X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libatalk%2Fcompat%2Frquota_xdr.c;h=eb73c9754e88c4a5c4c29778c8ddb32c1304f28f;hb=6821c9c1b67181b020f375bab7ac8061b0dcbec2;hp=15e1ff3de028070d7d440fcf97ab3040de88747a;hpb=03d38064d07cde04b85a2049281186f1f814c583;p=netatalk.git diff --git a/libatalk/compat/rquota_xdr.c b/libatalk/compat/rquota_xdr.c index 15e1ff3d..eb73c975 100644 --- a/libatalk/compat/rquota_xdr.c +++ b/libatalk/compat/rquota_xdr.c @@ -1,5 +1,4 @@ /* - * $Id: rquota_xdr.c,v 1.4 2003-02-17 01:51:08 srittau Exp $ * * taken from the quota-1.55 used on linux. here's the bsd copyright: * @@ -20,16 +19,15 @@ solaris linux libc5 */ -#if defined(NEED_RQUOTA) || (defined(sun) && defined(__svr4__)) || \ -(defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 6) +#if defined(NEED_RQUOTA) || defined(SOLARIS) || (defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 6) + +#include +#include #ifndef u_int #define u_int unsigned #endif -#include -#include - bool_t xdr_getquota_args(xdrs, objp) XDR *xdrs;