From 2da3d6d5aac46cdada7b770a96bd73ae78fc983a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 22 Sep 2004 17:58:45 +0000 Subject: r2528: Ensure MIN is defined as a macro so it's not undefined in the .so. Fix from Andreas . Jeremy. (This used to be commit b5edad8b6098abac9b197d70fe29fb514e625b34) --- source3/nsswitch/winbind_nss_linux.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/nsswitch/winbind_nss_linux.c') diff --git a/source3/nsswitch/winbind_nss_linux.c b/source3/nsswitch/winbind_nss_linux.c index a6d0bfe4e8..267631cf2c 100644 --- a/source3/nsswitch/winbind_nss_linux.c +++ b/source3/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. */ -- cgit