Add #include "prinit.h". On Windows, this gets implicitly included. (?)
authornelson%bolyard.com
Tue, 11 Sep 2007 00:48:09 +0000
changeset 8044 73c61492282565c38d0e3b7f108b9ef688d5b7bf
parent 8043 aba13990eb7e7bf50f82dd7a802edf7b4cbf3cdf
child 8045 eb9e18bc4b99b5d6e90be3bdd003072e7b7c6a24
push idunknown
push userunknown
push dateunknown
Add #include "prinit.h". On Windows, this gets implicitly included. (?)
security/nss/lib/ssl/sslsecur.c
--- a/security/nss/lib/ssl/sslsecur.c
+++ b/security/nss/lib/ssl/sslsecur.c
@@ -42,16 +42,17 @@
 #include "secitem.h"
 #include "keyhi.h"
 #include "ssl.h"
 #include "sslimpl.h"
 #include "sslproto.h"
 #include "secoid.h"	/* for SECOID_GetALgorithmTag */
 #include "pk11func.h"	/* for PK11_GenerateRandom */
 #include "nss.h"        /* for NSS_RegisterShutdown */
+#include "prinit.h"     /* for PR_CallOnceWithArg */
 
 #define MAX_BLOCK_CYPHER_SIZE	32
 
 #define TEST_FOR_FAILURE	/* reminder */
 #define SET_ERROR_CODE		/* reminder */
 
 /* Returns a SECStatus: SECSuccess or SECFailure, NOT SECWouldBlock. 
  *