X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=libatalk%2Fcompat%2Frquota_xdr.c;h=eb73c9754e88c4a5c4c29778c8ddb32c1304f28f;hb=9f957894d9a60f32adc56edddf72fa767ded8219;hp=30e26a29c3440b7e4997ed64ba8ab546f4661be5;hpb=a230babb63a2f9998a4e65d90070b8e17a542aad;p=netatalk.git diff --git a/libatalk/compat/rquota_xdr.c b/libatalk/compat/rquota_xdr.c index 30e26a29..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,12 +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 + bool_t xdr_getquota_args(xdrs, objp) XDR *xdrs;