]> arthur.barton.de Git - netatalk.git/commitdiff
Portability fix
authorFrank Lahm <franklahm@googlemail.com>
Mon, 5 Dec 2011 14:05:36 +0000 (15:05 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Mon, 5 Dec 2011 14:05:36 +0000 (15:05 +0100)
libatalk/compat/rquota_xdr.c

index 30e26a29c3440b7e4997ed64ba8ab546f4661be5..d72eaa7dbdb450158dbc39b896f6c3cae9bc67f3 100644 (file)
@@ -20,8 +20,7 @@
        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 <rpc/rpc.h>
 #include <rpcsvc/rquota.h>