Index: source/include/includes.h =================================================================== --- source/include/includes.h.orig 2005-12-02 13:21:50.000000000 -0600 +++ source/include/includes.h 2006-01-02 11:15:01.485596000 -0600 @@ -565,6 +573,7 @@ #endif #ifndef HAVE_SOCKLEN_T_TYPE +#define HAVE_SOCKLEN_T_TYPE typedef int socklen_t; #endif Index: source/nsswitch/winbind_nss_config.h =================================================================== --- source/nsswitch/winbind_nss_config.h.orig 2005-02-25 11:59:30.000000000 -0600 +++ source/nsswitch/winbind_nss_config.h 2006-01-02 11:06:41.064746000 -0600 @@ -139,4 +139,8 @@ #define S_ISSOCK(mode) ((mode & S_IFSOCK) == S_IFSOCK) #endif +#ifndef HAVE_SOCKLEN_T_TYPE +typedef int socklen_t; +#endif + #endif