r23539: Remove code duplication and unify behaviour of winbind_nss_*.h files
authorKai Blin <kai@samba.org>
Mon, 18 Jun 2007 13:59:09 +0000 (13:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:26 +0000 (12:23 -0500)
source/nsswitch/winbind_nss.h
source/nsswitch/winbind_nss_linux.h

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