You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/06/01 00:52:55 UTC
svn commit: r543297 - /apr/apr/branches/1.2.x/misc/win32/rand.c
Author: wrowe
Date: Thu May 31 15:52:54 2007
New Revision: 543297
URL: http://svn.apache.org/viewvc?view=rev&rev=543297
Log:
Link to librpcrt4.a.
Rearrange header ordering in rand.c to ensure that the link decorations
are imported correctly.
Originally titled: [patch 17/17] Uuid
Submitted by: John Vandenberg
Reviewed by: Justin Erenkrantz
Backport: 421805
Modified:
apr/apr/branches/1.2.x/misc/win32/rand.c
Modified: apr/apr/branches/1.2.x/misc/win32/rand.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/misc/win32/rand.c?view=diff&rev=543297&r1=543296&r2=543297
==============================================================================
--- apr/apr/branches/1.2.x/misc/win32/rand.c (original)
+++ apr/apr/branches/1.2.x/misc/win32/rand.c Thu May 31 15:52:54 2007
@@ -14,12 +14,13 @@
* limitations under the License.
*/
+#include <windows.h>
+#include <wincrypt.h>
#include "apr.h"
#include "apr_private.h"
#include "apr_general.h"
#include "apr_portable.h"
#include "apr_arch_misc.h"
-#include <wincrypt.h>
APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char * buf,