From: Jeremy Allison Date: Wed, 22 Sep 2004 17:58:45 +0000 (+0000) Subject: r2528: Ensure MIN is defined as a macro so it's not undefined in the .so. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5772 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5edad8b6098abac9b197d70fe29fb514e625b34;p=thirdparty%2Fsamba.git r2528: Ensure MIN is defined as a macro so it's not undefined in the .so. Fix from Andreas . Jeremy. --- diff --git a/source/nsswitch/winbind_nss_linux.c b/source/nsswitch/winbind_nss_linux.c index a6d0bfe4e86..267631cf2c1 100644 --- a/source/nsswitch/winbind_nss_linux.c +++ b/source/nsswitch/winbind_nss_linux.c @@ -23,6 +23,10 @@ #include "winbind_client.h" +#ifndef MIN +#define MIN(a,b) ((a)<(b)?(a):(b)) +#endif + /* Maximum number of users to pass back over the unix domain socket per call. This is not a static limit on the total number of users or groups returned in total. */