summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorMatthew T Harden <mthard@mthard1.monsanto.com>1998-08-28 14:10:42 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 05:57:16 +0000
commit8ac5a1fe856ae9296e1a0c7e52d5e675b059eff4 (patch)
treea0965d2d6e1dda612cb997706750c51952d1ea02 /perl.h
parent8328bf782257ad728cfec0d7eec5c590a7191587 (diff)
downloadperl-8ac5a1fe856ae9296e1a0c7e52d5e675b059eff4.tar.gz
updated usethreads hints for hpux 10.X
Message-Id: <199808281410.AA11058@mthard1.monsanto.com> Subject: Re: OK: perl 5.00502 on PA-RISC1.1-thread 10.20 (UNINSTALLED) p4raw-id: //depot/perl@1817
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index c406f38187..91b9058338 100644
--- a/perl.h
+++ b/perl.h
@@ -302,6 +302,13 @@ register struct op *op asm(stringify(OP_IN_REGISTER));
# endif
#endif
+/* HP-UX 10.X CMA (Common Multithreaded Architecure) insists that
+ pthread.h must be included before all other header files.
+*/
+#if defined(USE_THREADS) && defined(PTHREAD_H_FIRST)
+# include <pthread.h>
+#endif
+
#ifndef _TYPES_ /* If types.h defines this it's easy. */
# ifndef major /* Does everyone's types.h define this? */
# include <sys/types.h>