diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-05-31 22:52:54 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-05-31 22:52:54 +0000 |
commit | f33c60b99c9b47030911007fbaa4b376d88d54c9 (patch) | |
tree | 826c65154525179784e6b99a72f16d40a47a1f23 | |
parent | 4185d100266a6f265a5680a3856815737ae40c03 (diff) | |
download | libapr-f33c60b99c9b47030911007fbaa4b376d88d54c9.tar.gz |
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
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@543297 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | misc/win32/rand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/win32/rand.c b/misc/win32/rand.c index fb50fb9b3..8af1bdad5 100644 --- a/misc/win32/rand.c +++ b/misc/win32/rand.c @@ -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, |