Author: vlendec
Date: 2006-01-08 15:31:25 +0000 (Sun, 08 Jan 2006)
New Revision: 12771

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12771

Log:
Apply patch from bug 3374, attempt to fix build on tru64.

Thanks to "The Written Word" -- whoever that is :-)

Volker

Modified:
   branches/SAMBA_3_0/source/include/includes.h
   branches/SAMBA_3_0/source/nsswitch/winbind_nss_config.h
   trunk/source/include/includes.h
   trunk/source/nsswitch/winbind_nss_config.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/includes.h
===================================================================
--- branches/SAMBA_3_0/source/include/includes.h        2006-01-08 14:00:28 UTC 
(rev 12770)
+++ branches/SAMBA_3_0/source/include/includes.h        2006-01-08 15:31:25 UTC 
(rev 12771)
@@ -565,6 +565,7 @@
 #endif
 
 #ifndef HAVE_SOCKLEN_T_TYPE
+#define HAVE_SOCKLEN_T_TYPE
 typedef int socklen_t;
 #endif
 

Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_config.h
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_config.h     2006-01-08 
14:00:28 UTC (rev 12770)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_config.h     2006-01-08 
15:31:25 UTC (rev 12771)
@@ -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

Modified: trunk/source/include/includes.h
===================================================================
--- trunk/source/include/includes.h     2006-01-08 14:00:28 UTC (rev 12770)
+++ trunk/source/include/includes.h     2006-01-08 15:31:25 UTC (rev 12771)
@@ -565,6 +565,7 @@
 #endif
 
 #ifndef HAVE_SOCKLEN_T_TYPE
+#define HAVE_SOCKLEN_T_TYPE
 typedef int socklen_t;
 #endif
 

Modified: trunk/source/nsswitch/winbind_nss_config.h
===================================================================
--- trunk/source/nsswitch/winbind_nss_config.h  2006-01-08 14:00:28 UTC (rev 
12770)
+++ trunk/source/nsswitch/winbind_nss_config.h  2006-01-08 15:31:25 UTC (rev 
12771)
@@ -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

Reply via email to