]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/compat/rquota_xdr.c
Merge remote branch 'netafp/master' into branch-allea
[netatalk.git] / libatalk / compat / rquota_xdr.c
index 3e1f46094f485bfa82ee1395b16642b37aad6c80..15e1ff3de028070d7d440fcf97ab3040de88747a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rquota_xdr.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $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:
  *
@@ -16,8 +16,6 @@
 
 #include <stdio.h> /* to get __GNU_LIBRARY__ */
 
-static int _xdr_rquota_dummy;
-
 /* list of machines that don't have these functions:
        solaris
        linux libc5
@@ -25,6 +23,10 @@ static int _xdr_rquota_dummy;
 #if defined(NEED_RQUOTA) || (defined(sun) && defined(__svr4__)) || \
 (defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 6)
 
+#ifndef u_int
+#define u_int unsigned
+#endif
+
 #include <rpc/rpc.h>
 #include <rpcsvc/rquota.h>