2.2.3a-CVS HPUX 10.20 and source/nsswitch/hp_nss_common.h

Harald Koenig koenig at science-computing.de
Tue Apr 23 04:13:34 GMT 2002


Hi,

the current 2.2.3x CVS sources don't compile on HPUX 10.20
while 2.2.3b is ok.  reason is the change in nsswitch/hp_nss_common.h
after 2.2.3b which is still needed for HPUX 10.20.

please undo that minor change or just apply the attached patch.


thanks,

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                            ^^^^^       ^^^^^
-------------- next part --------------
Index: source/nsswitch/hp_nss_common.h
===================================================================
RCS file: /cvsroot/samba/source/nsswitch/hp_nss_common.h,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 hp_nss_common.h
--- source/nsswitch/hp_nss_common.h	22 Mar 2002 00:03:48 -0000	1.1.2.3
+++ source/nsswitch/hp_nss_common.h	23 Apr 2002 11:06:02 -0000
@@ -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,


More information about the samba-technical mailing list