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:53:11 UTC

svn commit: r543298 - /apr/apr/branches/0.9.x/misc/win32/rand.c

Author: wrowe
Date: Thu May 31 15:53:11 2007
New Revision: 543298

URL: http://svn.apache.org/viewvc?view=rev&rev=543298
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/0.9.x/misc/win32/rand.c

Modified: apr/apr/branches/0.9.x/misc/win32/rand.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/misc/win32/rand.c?view=diff&rev=543298&r1=543297&r2=543298
==============================================================================
--- apr/apr/branches/0.9.x/misc/win32/rand.c (original)
+++ apr/apr/branches/0.9.x/misc/win32/rand.c Thu May 31 15:53:11 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,