r23674: Merge changes from Samba 3 SVN r23539:
authorKai Blin <kai@samba.org>
Tue, 3 Jul 2007 06:16:44 +0000 (06:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:53:31 +0000 (14:53 -0500)
Avoid code duplication in winbind_nss_linux.h

source/nsswitch/winbind_nss.h
source/nsswitch/winbind_nss_linux.h

index 5416ae211e3d479e5b15f96b5cf4f49fc1ff755a..c7abf77ea0f2aa9389fef8566d61deeaa3c8eea4 100644 (file)
@@ -39,8 +39,7 @@
  * Linux (glibc)
  */
 
-#include <nss.h>
-typedef enum nss_status NSS_STATUS;
+#include "nsswitch/winbind_nss_linux.h"
 
 #elif HAVE_NS_API_H
 
index 1c7e83003733f95b005563cd0e676aecd8927456..456bfa5c143f56d687a2d67ecdf7f9515efe10e8 100644 (file)
 #ifndef _WINBIND_NSS_LINUX_H
 #define _WINBIND_NSS_LINUX_H
 
-#if HAVE_NSS_H
-
 #include <nss.h>
 
 typedef enum nss_status NSS_STATUS;
 
-#endif /* HAVE_NSS_H */
-
 #endif /* _WINBIND_NSS_LINUX_H */