r24740: Fix the build.
authorGünther Deschner <gd@samba.org>
Tue, 28 Aug 2007 14:31:31 +0000 (14:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:16 +0000 (12:30 -0500)
Guenther
(This used to be commit a30549bbf4521232158262e117219b0fa8f5eb74)

source3/nsswitch/wb_common.c

index d717e9db7fad1bf0f7006c62f00754ba36ab98c7..feae08ef3e3d2f316b169295076ae149b1113006 100644 (file)
@@ -687,8 +687,10 @@ const char *nss_err_str(NSS_STATUS ret)
                        return "NSS_STATUS_NOTFOUND";
                case NSS_STATUS_UNAVAIL:
                        return "NSS_STATUS_UNAVAIL";
+#ifdef NSS_STATUS_RETURN
                case NSS_STATUS_RETURN:
                        return "NSS_STATUS_RETURN";
+#endif
                default:
                        return "UNKNOWN RETURN CODE!!!!!!!";
        }