r12771: Apply patch from bug 3374, attempt to fix build on tru64.
authorVolker Lendecke <vlendec@samba.org>
Sun, 8 Jan 2006 15:31:25 +0000 (15:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:03 +0000 (11:06 -0500)
Thanks to "The Written Word" -- whoever that is :-)

Volker

source/include/includes.h
source/nsswitch/winbind_nss_config.h

index 80fc3feed9816817599c9f0acb1fca32c200283c..f704fcb6874a278860cf554a6c33c2c270df8155 100644 (file)
@@ -565,6 +565,7 @@ typedef int VOLATILE SIG_ATOMIC_T;
 #endif
 
 #ifndef HAVE_SOCKLEN_T_TYPE
+#define HAVE_SOCKLEN_T_TYPE
 typedef int socklen_t;
 #endif
 
index 77d1dbe26e031d855471d6ad472758c8a318a0c4..a3243b99e302b59f5241f11df5f7eaebbd856294 100644 (file)
@@ -139,4 +139,8 @@ typedef int BOOL;
 #define S_ISSOCK(mode)  ((mode & S_IFSOCK) == S_IFSOCK)
 #endif
 
+#ifndef HAVE_SOCKLEN_T_TYPE
+typedef int socklen_t;
+#endif
+
 #endif