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

Harald Koenig koenig at science-computing.de
Wed Apr 24 00:25:08 GMT 2002


On Apr 24, Andrew Bartlett wrote:

> "MCCALL,DON (HP-USA,ex1)" wrote:
> > 
> > Andrew,
> > Will need the same to the head branch (SAMBA_3_0, I guess, now),
> > so it will compile on HPUX 10.20 as well...
> > Thanks,
> > Don
> 
> To do that, I would need the patch attached, and it CCed to me.

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,


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