summaryrefslogtreecommitdiff
path: root/misc/win32/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/win32/rand.c')
-rw-r--r--misc/win32/rand.c3
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,