diff options
Diffstat (limited to 'nsswitch/winbind_nss_solaris.c')
-rw-r--r-- | nsswitch/winbind_nss_solaris.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nsswitch/winbind_nss_solaris.c b/nsswitch/winbind_nss_solaris.c index 5fb37643ce..92da8591b7 100644 --- a/nsswitch/winbind_nss_solaris.c +++ b/nsswitch/winbind_nss_solaris.c @@ -26,6 +26,7 @@ #undef DEVELOPER + #include "winbind_client.h" #include <stdlib.h> #include <sys/types.h> @@ -34,6 +35,7 @@ #include <pwd.h> #include "includes.h" #include <syslog.h> + #if !defined(HPUX) #include <sys/syslog.h> #endif /*hpux*/ @@ -48,6 +50,10 @@ #define NSS_DEBUG(str) ; #endif +#if !defined(SMB_MALLOC_P) +#define SMB_MALLOC_P(type) (type *)malloc(sizeof(type)) +#endif + #define NSS_ARGS(args) ((nss_XbyY_args_t *)args) #ifdef HPUX |