patch for samba-2.2.4 on HP-UX 10.20

Harald Koenig koenig at science-computing.de
Wed May 8 02:57:02 GMT 2002


Hi,

samba 2.2.4 doesn't compile on HP-UX 10.20 because it's still missing
the patch below.  see also the recent mail thread starting with

	Subject: 2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h
	Date: Tue, 23 Apr 2002 13:11:36 +0200
	Message-ID: <20020423131136.A15340 at turtle.science-computing.de>



-------------------------------------------------------------------------------
--- samba-2.2.4/source/nsswitch/hp_nss_common.h~	Fri May  3 03:03:19 2002
+++ samba-2.2.4/source/nsswitch/hp_nss_common.h	Tue May  7 16:23:10 2002
@@ -23,8 +23,12 @@
    Boston, MA  02111-1307, USA.
 */
  
+#ifdef HAVE_SYNCH_H
 #include <synch.h>
+#endif
+#ifdef HAVE_PTHREAD_H
 #include <pthread.h>
+#endif
  
 typedef enum {
 	NSS_SUCCESS,
-------------------------------------------------------------------------------

Harald Koenig
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig                                          \/\/\/\/\/\/\/\/\/
science+computing ag                                    //  /     \\  \
koenig at science-computing.de                            ^^^^^       ^^^^^




More information about the samba-technical mailing list